good morning!!!!

Skip to content
Snippets Groups Projects
Commit 8119d77a authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

:-(

parent 8935a93c
Branches
Tags
No related merge requests found
...@@ -47,7 +47,7 @@ func (cache *Cache) Put(v interface{}) interface{} { ...@@ -47,7 +47,7 @@ func (cache *Cache) Put(v interface{}) interface{} {
value := NewValue(v) value := NewValue(v)
enc := value.Encode() enc := value.Encode()
if len(enc) < 32 { if len(enc) >= 32 {
sha := Sha3Bin(enc) sha := Sha3Bin(enc)
cache.nodes[string(sha)] = NewNode(sha, value, true) cache.nodes[string(sha)] = NewNode(sha, value, true)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment