Skip to content

Commit

Permalink
fix: minor fixes (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghadi8 committed Oct 15, 2024
1 parent bedcadf commit ebeffed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/fuzz/ProofOfPassportRegisterHandler.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ contract ProofOfPassportRegisterHandler is Test, TestCodeConstants, CodeConstant
ProofOfPassportRegister s_register;
address[][] private s_registeredAddresses = new address[][](5);

constructor(ProofOfPassportRegister register) {
s_register = register;
}

modifier notAlreadyRegisteredVerifier(uint256 signatureAlgorithm) {
if (signatureAlgorithm == 1 || signatureAlgorithm == 3 || signatureAlgorithm == 4) {
return;
}
_;
}

constructor(ProofOfPassportRegister register) {
s_register = register;
}

function registerProof(address recipient, uint256 signatureAlgorithmSeed) public {
if (recipient == address(0)) {
return;
Expand Down

0 comments on commit ebeffed

Please sign in to comment.