From 8119d77a21d3973fe6379c5d57f393dda8fce392 Mon Sep 17 00:00:00 2001 From: obscuren Date: Fri, 27 Jun 2014 00:08:19 +0200 Subject: [PATCH] :-( --- ethutil/trie.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethutil/trie.go b/ethutil/trie.go index 0c1a6d2603..18d0a5f0ae 100644 --- a/ethutil/trie.go +++ b/ethutil/trie.go @@ -47,7 +47,7 @@ func (cache *Cache) Put(v interface{}) interface{} { value := NewValue(v) enc := value.Encode() - if len(enc) < 32 { + if len(enc) >= 32 { sha := Sha3Bin(enc) cache.nodes[string(sha)] = NewNode(sha, value, true)