From bdac82ecdbb6a4d27e9c5b11ce48d2d653a652e6 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Thu, 12 Jul 2018 00:49:00 +0100 Subject: Replace throw with revert() in compilation tests --- test/compilationTests/zeppelin/DayLimit.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/compilationTests/zeppelin/DayLimit.sol') diff --git a/test/compilationTests/zeppelin/DayLimit.sol b/test/compilationTests/zeppelin/DayLimit.sol index 5a2937b5..bc576c89 100644 --- a/test/compilationTests/zeppelin/DayLimit.sol +++ b/test/compilationTests/zeppelin/DayLimit.sol @@ -68,7 +68,7 @@ contract DayLimit { */ modifier limitedDaily(uint256 _value) { if (!underLimit(_value)) { - throw; + revert(); } _; } -- cgit v1.2.3