mirror of
https://github.com/status-im/op-geth.git
synced 2025-01-31 00:44:53 +00:00
Merge branch 'develop'
This commit is contained in:
commit
e3ad2a3969
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user