aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/MultiSigWallet/TestToken.sol
diff options
context:
space:
mode:
Diffstat (limited to 'test/compilationTests/MultiSigWallet/TestToken.sol')
-rw-r--r--test/compilationTests/MultiSigWallet/TestToken.sol4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compilationTests/MultiSigWallet/TestToken.sol b/test/compilationTests/MultiSigWallet/TestToken.sol
index df195c58..a100b449 100644
--- a/test/compilationTests/MultiSigWallet/TestToken.sol
+++ b/test/compilationTests/MultiSigWallet/TestToken.sol
@@ -27,7 +27,7 @@ contract TestToken {
returns (bool success)
{
if (balances[msg.sender] < _value) {
- throw;
+ revert();
}
balances[msg.sender] -= _value;
balances[_to] += _value;
@@ -40,7 +40,7 @@ contract TestToken {
returns (bool success)
{
if (balances[_from] < _value || allowed[_from][msg.sender] < _value) {
- throw;
+ revert();
}
balances[_to] += _value;
balances[_from] -= _value;