mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #350 from ethereum/chriseth-patch-1
Docs: Refund actual deposit, and not bid value.
This commit is contained in:
commit
cff368fb7c
@ -396,7 +396,7 @@ high or low invalid bids.
|
||||
// Bid was not actually revealed.
|
||||
// Do not refund deposit.
|
||||
continue;
|
||||
refund += value;
|
||||
refund += bid.deposit;
|
||||
if (!fake && bid.deposit >= value)
|
||||
if (placeBid(msg.sender, value))
|
||||
refund -= value;
|
||||
|
Loading…
Reference in New Issue
Block a user