Make Stoppable a subclass of Ownable. Fixes #47

This commit is contained in:
Federico Bond
2016-11-01 23:34:57 -03:00
parent c70a0cfd5d
commit 4599fbf248
5 changed files with 14 additions and 23 deletions

View File

@ -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);
}
}