From 0d87708360936a312f0d1f4d7938cdd56201d4f4 Mon Sep 17 00:00:00 2001 From: Tina Zheng Date: Wed, 22 Nov 2023 13:33:37 -0500 Subject: [PATCH] run format --- contracts/base/PeripheryPayments.sol | 2 +- contracts/base/PeripheryValidation.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); _;