Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
fix: zero address check for malformed tx sig
Browse files Browse the repository at this point in the history
  • Loading branch information
DhairyaSethi committed Aug 16, 2023
1 parent 1eb6960 commit 913f4b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/root/predicates/IPredicate.sol
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ contract PredicateUtils is ExitsDataStructure, ChainIdMixin {
bytes32(txList[7].toUint()),
bytes32(txList[8].toUint())
);
require(signer != address(0), "Invalid signer");
}

function decodeExit(bytes memory data)
Expand Down

0 comments on commit 913f4b1

Please sign in to comment.