Skip to content
RED SAGSkills
medium10 pts · first answer countssmart-contract-securitysolidity

Refunding outbid bidders

In an auction, the contract sends ETH back to the previous highest bidder inside bid(). An attacker bids from a contract whose receive() always reverts. What happens, and what is the fix?

Choose one answer