Commit 3bdd47fc authored by Steven Allen's avatar Steven Allen

don't clear the cache CID when decoding a cached protobuf node

parent 5f44a52a
...@@ -131,7 +131,7 @@ func DecodeProtobufBlock(b blocks.Block) (ipld.Node, error) { ...@@ -131,7 +131,7 @@ func DecodeProtobufBlock(b blocks.Block) (ipld.Node, error) {
} }
decnd.cached = c decnd.cached = c
decnd.SetCidBuilder(c.Prefix()) decnd.builder = c.Prefix()
return decnd, nil return decnd, nil
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment