From b7ad97610f8a737cb8154f5ad83f4c333f4ca159 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Wed, 13 Jun 2018 00:59:23 +0100 Subject: Update documentation for strict address literals --- docs/solidity-by-example.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3