Merge pull request #350 from ethereum/chriseth-patch-1

Docs: Refund actual deposit, and not bid value.
This commit is contained in:
chriseth 2016-01-12 18:59:05 +01:00
commit cff368fb7c

View File

@ -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;