aboutsummaryrefslogtreecommitdiffstats
path: root/ethtrie
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 /ethtrie
parentf3196c915a6f8ddde1d2e178ad419a114b608b91 (diff)
downloadgo-tangerine-9d86a49a7327199c01977f3372c8adf748252c32.tar
go-tangerine-9d86a49a7327199c01977f3372c8adf748252c32.tar.gz
go-tangerine-9d86a49a7327199c01977f3372c8adf748252c32.tar.bz2
go-tangerine-9d86a49a7327199c01977f3372c8adf748252c32.tar.lz
go-tangerine-9d86a49a7327199c01977f3372c8adf748252c32.tar.xz
go-tangerine-9d86a49a7327199c01977f3372c8adf748252c32.tar.zst
go-tangerine-9d86a49a7327199c01977f3372c8adf748252c32.zip
Renamed Sha3Bin to Sha3
Diffstat (limited to 'ethtrie')
-rw-r--r--ethtrie/trie.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethtrie/trie.go b/ethtrie/trie.go
index 695ff436a..24f6a1f08 100644
--- a/ethtrie/trie.go
+++ b/ethtrie/trie.go
@@ -67,7 +67,7 @@ func (cache *Cache) PutValue(v interface{}, force bool) interface{} {
enc := value.Encode()
if len(enc) >= 32 || force {
- sha := ethcrypto.Sha3Bin(enc)
+ sha := ethcrypto.Sha3(enc)
cache.nodes[string(sha)] = NewNode(sha, value, true)
cache.IsDirty = true