Skip to content

Commit

Permalink
chore: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
fp-crypto committed Apr 23, 2024
1 parent 9d5ea20 commit 6ded7c3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Bases/Auctioneer/BaseAuctioneer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,10 @@ abstract contract BaseAuctioneer is BaseHealthCheck, ReentrancyGuard {
returns (uint256)
{
// If not enough time has passed then `kickable` is 0.
if (auctions[_auctionId].kicked + uint256(auctionCooldown) > block.timestamp) {
if (
auctions[_auctionId].kicked + uint256(auctionCooldown) >
block.timestamp
) {
return 0;
}

Expand Down Expand Up @@ -433,7 +436,8 @@ abstract contract BaseAuctioneer is BaseHealthCheck, ReentrancyGuard {
address _fromToken = auctions[_auctionId].fromInfo.tokenAddress;
require(_fromToken != address(0), "not enabled");
require(
block.timestamp > auctions[_auctionId].kicked + uint256(auctionCooldown),
block.timestamp >
auctions[_auctionId].kicked + uint256(auctionCooldown),
"too soon"
);

Expand Down

0 comments on commit 6ded7c3

Please sign in to comment.