Replace throw with revert() in compilation tests

This commit is contained in:
Alex Beregszaszi
2018-07-16 15:33:31 +02:00
committed by chriseth
parent aa08460d94
commit bdac82ecdb
23 changed files with 92 additions and 92 deletions
+1 -1
View File
@@ -389,7 +389,7 @@ contract schelling is module, announcementTypes, schellingVars {
}
delete voter.status;
delete voter.roundID;
} else { throw; }
} else { revert(); }
setVoter(msg.sender, voter);
setFunds(msg.sender, funds);