Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ contract EnglishAuctionsLogic is IEnglishAuctions, ReentrancyGuard, ERC2771Conte

require(_targetAuction.status != IEnglishAuctions.Status.CANCELLED, "Marketplace: invalid auction.");
require(_targetAuction.endTimestamp <= block.timestamp, "Marketplace: auction still active.");
require(_winningBid.bidder != address(0), "Marketplace: no bids were made.");
require(_winningBid.bidder == _msgSender(), "Marketplace: not auction winner.");

_closeAuctionForAuctionCreator(_targetAuction, _winningBid);

Expand Down
2 changes: 1 addition & 1 deletion contracts/prebuilts/marketplace/marketplace-v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ The `EnglishAuctions` extension smart contract lets you sell NFTs (ERC-721 or ER
| auctionId | The unique ID of the auction to collect the payout for. |
- Criteria that must be satisfied
- The auction must be expired.
- The caller must be the winning bidder.
- The caller must be the auction winner.

### `bidInAuction`

Expand Down