Make Stoppable a subclass of Ownable. Fixes #47
This commit is contained in:
@ -7,10 +7,6 @@ contract StoppableBid is Stoppable, PullPayment {
|
||||
address public highestBidder;
|
||||
uint public highestBid;
|
||||
|
||||
function StoppableBid(address _curator)
|
||||
Stoppable(_curator)
|
||||
PullPayment() {}
|
||||
|
||||
function bid() external stopInEmergency {
|
||||
if (msg.value <= highestBid) throw;
|
||||
|
||||
@ -22,7 +18,7 @@ contract StoppableBid is Stoppable, PullPayment {
|
||||
}
|
||||
|
||||
function withdraw() onlyInEmergency {
|
||||
suicide(curator);
|
||||
suicide(owner);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user