aboutsummaryrefslogtreecommitdiffstats
path: root/ethtrie
diff options
context:
space:
mode:
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