diff options
author | William Morriss <wjmelements@gmail.com> | 2017-10-09 04:40:18 +0800 |
---|---|---|
committer | William Morriss <wjmelements@gmail.com> | 2017-10-09 04:40:18 +0800 |
commit | d05b24162f8d88d15601af8f5b3fdb713f3755b4 (patch) | |
tree | 56ec5b336e566fe65452f4ae3f1c4b27ebdff58b | |
parent | c3ec0beba553ccb5653c4d38c32ef9d70e48471d (diff) | |
download | dexon-solidity-d05b24162f8d88d15601af8f5b3fdb713f3755b4.tar.gz dexon-solidity-d05b24162f8d88d15601af8f5b3fdb713f3755b4.tar.zst dexon-solidity-d05b24162f8d88d15601af8f5b3fdb713f3755b4.zip |
also rm biddingTime
-rw-r--r-- | docs/solidity-by-example.rst | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/solidity-by-example.rst b/docs/solidity-by-example.rst index 7b28296f..59ab7962 100644 --- a/docs/solidity-by-example.rst +++ b/docs/solidity-by-example.rst @@ -222,7 +222,6 @@ activate themselves. // or time periods in seconds. address public beneficiary; uint public auctionEnd; - uint public biddingTime; // Current state of the auction. address public highestBidder; @@ -251,8 +250,7 @@ activate themselves. address _beneficiary ) { beneficiary = _beneficiary; - auctionEnd = now + biddingTime; - biddingTime = _biddingTime; + auctionEnd = now + _biddingTime; } /// Bid on the auction with the value sent |