Skip to content

Commit

Permalink
Consistently return hash from moduleTxSignedBy()
Browse files Browse the repository at this point in the history
  • Loading branch information
cristovaoth committed Oct 26, 2023
1 parent c9d6904 commit 9257ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/signature/SignatureChecker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ abstract contract SignatureChecker {
return
_isValidContractSignature(signer, hash, data[start:end])
? (hash, signer)
: (hash, address(0));
: (bytes32(0), address(0));
} else {
bytes32 hash = moduleTxHash(data[:end], salt);
return (hash, ecrecover(hash, v, r, s));
Expand Down

0 comments on commit 9257ba7

Please sign in to comment.