If the same person bids multiple bids, then he can only be able to withdraw the latest bid. All the remaining previous bids will be struck in the contract
If any user bids multiple bids, after completion of auction he can only be able to withdraw his latest bid.. This make all his previous bids funds get struck in the contract
Loss of funds to the users who have multiple bids
Manual Inspection
To fix this issue whenever a person who has previous bid, while placing new bid, have to only send the remaining amount instead of whole amount.
In the `bid` function the bid values are stored using `self.bid_values.entry(sender).write(amount)` directly, but this overwrites any previous bids made by the same bidder. Therefore if a participant makes 2 or more bids, the participant can then withdraw only the last value of the last bid. That is incorrect, the protocol should save all bids and a participant should withdraw the value of the all unsuccessful bids.
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.