Skip to content

Hotfix 1.0.3 #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 9, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions contracts/tree.sol
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ library PatriciaTree {
// Partial match, just follow the path
return _findAtNode(tree, e.node, suffix);
} else {
// Mismatch, so let us create a new branch node.
revert();
// Mismatch, return empty bytes
return bytes32(0);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "solidity-patricia-tree",
"version": "1.0.2",
"version": "1.0.3",
"description": "Patricia Tree solidity implemenation",
"directories": {
"test": "test"
Expand Down