Renamed Sha3Bin to Sha3

This commit is contained in:
obscuren
2014-10-08 12:06:39 +02:00
parent f3196c915a
commit 9d86a49a73
10 changed files with 22 additions and 20 deletions
+1 -1
View File
@@ -304,7 +304,7 @@ func (c *StateObject) RlpEncode() []byte {
func (c *StateObject) CodeHash() ethutil.Bytes {
var codeHash []byte
if len(c.Code) > 0 {
codeHash = ethcrypto.Sha3Bin(c.Code)
codeHash = ethcrypto.Sha3(c.Code)
}
return codeHash