diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-06-13 07:59:23 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-06-25 22:17:50 +0800 |
commit | b7ad97610f8a737cb8154f5ad83f4c333f4ca159 (patch) | |
tree | a062c557577ffbe4bafa97c75f34657c4e4c0337 /docs/solidity-by-example.rst | |
parent | 3ee3018bf60d172270ca94ff416a3081477922d4 (diff) | |
download | dexon-solidity-b7ad97610f8a737cb8154f5ad83f4c333f4ca159.tar.gz dexon-solidity-b7ad97610f8a737cb8154f5ad83f4c333f4ca159.tar.zst dexon-solidity-b7ad97610f8a737cb8154f5ad83f4c333f4ca159.zip |
Update documentation for strict address literals
Diffstat (limited to 'docs/solidity-by-example.rst')
-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 2b3d4b48..e8fddd61 100644 --- a/docs/solidity-by-example.rst +++ b/docs/solidity-by-example.rst @@ -496,7 +496,7 @@ high or low invalid bids. if (value <= highestBid) { return false; } - if (highestBidder != 0) { + if (highestBidder != address(0)) { // Refund the previously highest bidder. pendingReturns[highestBidder] += highestBid; } |