crypto: Remove dead code

This commit is contained in:
Ricardo Catalinas Jiménez
2016-02-21 20:05:22 +00:00
parent 0c6665558a
commit 3d971c5a34
2 changed files with 0 additions and 11 deletions

View File

@ -68,7 +68,6 @@ func Sha3Hash(data ...[]byte) common.Hash { return Keccak256Hash(data...) }
func CreateAddress(b common.Address, nonce uint64) common.Address {
data, _ := rlp.EncodeToBytes([]interface{}{b, nonce})
return common.BytesToAddress(Keccak256(data)[12:])
//return Sha3(common.NewValue([]interface{}{b, nonce}).Encode())[12:]
}
func Sha256(data []byte) []byte {