aboutsummaryrefslogtreecommitdiffstats
path: root/docs/solidity-by-example.rst
diff options
context:
space:
mode:
authorWilliam Morriss <wjmelements@gmail.com>2017-10-09 04:40:18 +0800
committerWilliam Morriss <wjmelements@gmail.com>2017-10-09 04:40:18 +0800
commitd05b24162f8d88d15601af8f5b3fdb713f3755b4 (patch)
tree56ec5b336e566fe65452f4ae3f1c4b27ebdff58b /docs/solidity-by-example.rst
parentc3ec0beba553ccb5653c4d38c32ef9d70e48471d (diff)
downloaddexon-solidity-d05b24162f8d88d15601af8f5b3fdb713f3755b4.tar.gz
dexon-solidity-d05b24162f8d88d15601af8f5b3fdb713f3755b4.tar.zst
dexon-solidity-d05b24162f8d88d15601af8f5b3fdb713f3755b4.zip
also rm biddingTime
Diffstat (limited to 'docs/solidity-by-example.rst')
-rw-r--r--docs/solidity-by-example.rst4
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