mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-26 05:27:19 +00:00
:-(
This commit is contained in:
parent
8935a93cf8
commit
8119d77a21
@ -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…
Reference in New Issue
Block a user