diff --git a/contracts/base/PeripheryPayments.sol b/contracts/base/PeripheryPayments.sol index 18deaae8..f272da34 100644 --- a/contracts/base/PeripheryPayments.sol +++ b/contracts/base/PeripheryPayments.sol @@ -12,7 +12,7 @@ abstract contract PeripheryPayments is IPeripheryPayments { using SafeTransferLib for ERC20; error InsufficientToken(); - error NativeTokenTransferFrom(); + error NativeTokenTransferFrom(); /// @inheritdoc IPeripheryPayments function sweepToken(Currency currency, uint256 amountMinimum, address recipient) public payable override { diff --git a/contracts/base/PeripheryValidation.sol b/contracts/base/PeripheryValidation.sol index eaa1b18e..b8ea81d4 100644 --- a/contracts/base/PeripheryValidation.sol +++ b/contracts/base/PeripheryValidation.sol @@ -3,7 +3,7 @@ pragma solidity ^0.8.19; abstract contract PeripheryValidation { error TransactionTooOld(); - + modifier checkDeadline(uint256 deadline) { if (block.timestamp > deadline) revert TransactionTooOld(); _;