aboutsummaryrefslogtreecommitdiffstats
path: root/ethstate
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-08 18:06:39 +0800
committerobscuren <geffobscura@gmail.com>2014-10-08 18:06:39 +0800
commit9d86a49a7327199c01977f3372c8adf748252c32 (patch)
treea07141b5910df83e6284713149f9173c31ce247b /ethstate
parentf3196c915a6f8ddde1d2e178ad419a114b608b91 (diff)
downloadgo-tangerine-9d86a49a7327199c01977f3372c8adf748252c32.tar.gz
go-tangerine-9d86a49a7327199c01977f3372c8adf748252c32.tar.zst
go-tangerine-9d86a49a7327199c01977f3372c8adf748252c32.zip
Renamed Sha3Bin to Sha3
Diffstat (limited to 'ethstate')
-rw-r--r--ethstate/state_object.go2
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