Merge pull request #3566 from mirgj/patch-1

Update solidity-by-example.rst
This commit is contained in:
chriseth authored and GitHub committed 2018-02-21 21:46:59 +01:00
commit bb2a48e05c
1 file changed
+1 -1
+1 -1
View File
@@ -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.