You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.
This can occur if you insert lots of small key/values into the tree.
A simple example of this bug is below:
constTree=require('merkle-patricia-tree');consttree=newTree();tree.put('a','a',(err)=>{tree.put('b','b',(err)=>{Tree.prove(tree,'a',(err,proof)=>{Tree.verifyProof(tree.root,'a',proof,(err,val)=>{// err = "Error: Unexpected end of proof"// expected : val === 'a' }}}}
This can occur if you insert lots of small key/values into the tree.
A simple example of this bug is below:
PR #51 fixes this issue.
The text was updated successfully, but these errors were encountered: