aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/zeppelin/payment
diff options
context:
space:
mode:
Diffstat (limited to 'test/compilationTests/zeppelin/payment')
-rw-r--r--test/compilationTests/zeppelin/payment/PullPayment.sol6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/compilationTests/zeppelin/payment/PullPayment.sol b/test/compilationTests/zeppelin/payment/PullPayment.sol
index 2f3e1b51..bac1d019 100644
--- a/test/compilationTests/zeppelin/payment/PullPayment.sol
+++ b/test/compilationTests/zeppelin/payment/PullPayment.sol
@@ -33,18 +33,18 @@ contract PullPayment {
uint256 payment = payments[payee];
if (payment == 0) {
- throw;
+ revert();
}
if (address(this).balance < payment) {
- throw;
+ revert();
}
totalPayments = totalPayments.sub(payment);
payments[payee] = 0;
if (!payee.send(payment)) {
- throw;
+ revert();
}
}
}