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

Commit

Permalink
Merge pull request #479 from maticnetwork/fix/invalid-sig
Browse files Browse the repository at this point in the history
fix: zero address check for malformed tx sig
  • Loading branch information
DhairyaSethi authored Sep 20, 2023
2 parents 1eb6960 + 913f4b1 commit ba520b6
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 ba520b6

Please sign in to comment.