Skip to content

Commit

Permalink
👷 nit : Lock -> lock
Browse files Browse the repository at this point in the history
  • Loading branch information
Flocqst committed Sep 11, 2024
1 parent 546bb38 commit 5a5670b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Auction.sol
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ contract Auction is Ownable, Initializable {
/// @notice Places a bid in the auction.
/// @param amount The amount of KWENTA to bid.
/// @dev The auction must be started, not ended, and the bid must be higher than the current highest bid plus buffer
function bid(uint256 amount) external Lock {
function bid(uint256 amount) external lock {
if (!started) revert AuctionNotStarted();
if (block.timestamp >= endAt) revert AuctionAlreadyEnded();
if (amount < highestBid + bidBuffer) {
Expand Down Expand Up @@ -242,7 +242,7 @@ contract Auction is Ownable, Initializable {
}

/// @notice Modifier to ensure that bidding is not locked
modifier Lock() {
modifier lock() {
if (locked) revert BiddingLockedErr();
_;
}
Expand Down

0 comments on commit 5a5670b

Please sign in to comment.