The AuctionSettled event is emitted but the auction has actually not been settled.
Likelihood:
This happens when user calls placeBid function but sends less eth than the buyNowPrice so the buy now logic gets skipped
Impact:
AuctionSettled event gets emitted but the auction has not been settled yet.
Owner of the nft creates a listing of the nft in the marketplace.
Bidder bids certain amount of eth to that listing using placeBid function.
Problem appears in these 2 cases:
The msg.value has to be less than buyNowPrice
If in the listing buyNowPrice, was set to 0 it indicates that buy now logic will always be skipped for that listing.
AuctionSettled event gets emitted but the auction has not yet been settled.
Deleting the line where the event gets emitted will fix this problem and the rest of the logic would work just fine without it.
placeBid emits AuctionSettled even though the auction hasn’t ended, causing misleading event logs.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.