fix error in new modifier

This commit is contained in:
Gonçalo Sá 2017-05-02 09:43:33 +01:00
parent a48ef36b42
commit 1820759007
1 changed files with 0 additions and 9 deletions

View File

@ -155,15 +155,6 @@ contract StandardBounty {
if (newStage < bountyStage - 1)
throw;
else if (newStage == BountyStages.Dead && (bountyStage == BountyStages.Draft || bountyStage == BountyStages.Active))
bountyStage = newStage;
else if (newStage == BountyStages.Fulfilled && this.balance < fulfillmentAmount) {
bountyStage = newStage;
if (!issuer.send(this.balance))
throw;
}
_;
}