diff options
author | obscuren <geffobscura@gmail.com> | 2014-06-27 06:08:29 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-06-27 06:08:29 +0800 |
commit | e3ad2a39699a4c33a3ee5ee0525552d1f1ecedfc (patch) | |
tree | b0233ba1752ce44b323ef794eaf9fd1a5d631913 | |
parent | 9d5a3f013121c319f9cf679d9afc4e40661a0284 (diff) | |
parent | 8119d77a21d3973fe6379c5d57f393dda8fce392 (diff) | |
download | dexon-e3ad2a39699a4c33a3ee5ee0525552d1f1ecedfc.tar dexon-e3ad2a39699a4c33a3ee5ee0525552d1f1ecedfc.tar.gz dexon-e3ad2a39699a4c33a3ee5ee0525552d1f1ecedfc.tar.bz2 dexon-e3ad2a39699a4c33a3ee5ee0525552d1f1ecedfc.tar.lz dexon-e3ad2a39699a4c33a3ee5ee0525552d1f1ecedfc.tar.xz dexon-e3ad2a39699a4c33a3ee5ee0525552d1f1ecedfc.tar.zst dexon-e3ad2a39699a4c33a3ee5ee0525552d1f1ecedfc.zip |
Merge branch 'develop'
-rw-r--r-- | ethutil/trie.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethutil/trie.go b/ethutil/trie.go index 0c1a6d260..18d0a5f0a 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) |