mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
also rm biddingTime
This commit is contained in:
parent
c3ec0beba5
commit
d05b24162f
@ -222,7 +222,6 @@ activate themselves.
|
|||||||
// or time periods in seconds.
|
// or time periods in seconds.
|
||||||
address public beneficiary;
|
address public beneficiary;
|
||||||
uint public auctionEnd;
|
uint public auctionEnd;
|
||||||
uint public biddingTime;
|
|
||||||
|
|
||||||
// Current state of the auction.
|
// Current state of the auction.
|
||||||
address public highestBidder;
|
address public highestBidder;
|
||||||
@ -251,8 +250,7 @@ activate themselves.
|
|||||||
address _beneficiary
|
address _beneficiary
|
||||||
) {
|
) {
|
||||||
beneficiary = _beneficiary;
|
beneficiary = _beneficiary;
|
||||||
auctionEnd = now + biddingTime;
|
auctionEnd = now + _biddingTime;
|
||||||
biddingTime = _biddingTime;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Bid on the auction with the value sent
|
/// Bid on the auction with the value sent
|
||||||
|
Loading…
Reference in New Issue
Block a user