diff options
Diffstat (limited to 'ethstate/state_object.go')
-rw-r--r-- | ethstate/state_object.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethstate/state_object.go b/ethstate/state_object.go index be083e80a..fe4c5f73b 100644 --- a/ethstate/state_object.go +++ b/ethstate/state_object.go @@ -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 |