diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/solidity-by-example.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/solidity-by-example.rst b/docs/solidity-by-example.rst index de6e8165..63c82798 100644 --- a/docs/solidity-by-example.rst +++ b/docs/solidity-by-example.rst @@ -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; |