Skip to content

Commit

Permalink
Update contracts/beacon/Voucher.sol
Browse files Browse the repository at this point in the history
Co-authored-by: Jérémy James Toussaint <[email protected]>
  • Loading branch information
zguesmi and jeremyjams authored Jun 10, 2024
1 parent 10fda7a commit a641a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/beacon/Voucher.sol
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ contract Voucher is Initializable, IVoucher {
}

modifier onlyExpired() {
require(getExpiration() < block.timestamp, "Voucher: voucher is not expired");
require(getExpiration() <= block.timestamp, "Voucher: voucher is not expired");
_;
}

Expand Down

0 comments on commit a641a32

Please sign in to comment.