Skip to content

Commit

Permalink
turn an assert into a require
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzb committed Sep 25, 2018
1 parent 314d3fc commit 92a2652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onchain/ProvethVerifier.sol
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ contract ProvethVerifier {
bytes stackIndexes,
RLP.RLPItem[] memory stack
) internal returns (bytes memory value) {
assert(stackIndexes.length == stack.length);
require(stackIndexes.length == stack.length);

uint mptPathOffset = 0;

Expand Down

0 comments on commit 92a2652

Please sign in to comment.