aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authormirgj <mirash.gjolaj@gmail.com>2018-02-22 01:42:57 +0800
committerGitHub <noreply@github.com>2018-02-22 01:42:57 +0800
commitd01786f0aa4e128f70aea2bc53a8d3c61294a587 (patch)
tree1e4c296c8c66353e405c4d5783cac389ce29f31b /docs
parent20d8254029c2282ea3603433d94fe9018a4a69af (diff)
downloaddexon-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.rst2
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.