Skip to content

Commit

Permalink
run format
Browse files Browse the repository at this point in the history
  • Loading branch information
tinaszheng committed Nov 22, 2023
1 parent f9d830e commit 0d87708
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/base/PeripheryPayments.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion contracts/base/PeripheryValidation.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pragma solidity ^0.8.19;

abstract contract PeripheryValidation {
error TransactionTooOld();

modifier checkDeadline(uint256 deadline) {
if (block.timestamp > deadline) revert TransactionTooOld();
_;
Expand Down

0 comments on commit 0d87708

Please sign in to comment.