diff options
author | mirgj <mirash.gjolaj@gmail.com> | 2018-02-22 01:42:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-22 01:42:57 +0800 |
commit | d01786f0aa4e128f70aea2bc53a8d3c61294a587 (patch) | |
tree | 1e4c296c8c66353e405c4d5783cac389ce29f31b /docs | |
parent | 20d8254029c2282ea3603433d94fe9018a4a69af (diff) | |
download | dexon-solidity-d01786f0aa4e128f70aea2bc53a8d3c61294a587.tar.gz dexon-solidity-d01786f0aa4e128f70aea2bc53a8d3c61294a587.tar.zst dexon-solidity-d01786f0aa4e128f70aea2bc53a8d3c61294a587.zip |
Update solidity-by-example.rst
highestBidder is the address.
it's highestBid that should be != 0 to be considered as pending return.
It's that right?
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 b663083c..b8e158ac 100644 --- a/docs/solidity-by-example.rst +++ b/docs/solidity-by-example.rst @@ -272,7 +272,7 @@ activate themselves. // money back. require(msg.value > highestBid); - if (highestBidder != 0) { + if (highestBid != 0) { // Sending back the money by simply using // highestBidder.send(highestBid) is a security risk // because it could execute an untrusted contract. |