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/ReentrancyGuard.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/compilationTests/zeppelin/ReentrancyGuard.sol') diff --git a/test/compilationTests/zeppelin/ReentrancyGuard.sol b/test/compilationTests/zeppelin/ReentrancyGuard.sol index 60c7927b..7805ec07 100644 --- a/test/compilationTests/zeppelin/ReentrancyGuard.sol +++ b/test/compilationTests/zeppelin/ReentrancyGuard.sol @@ -27,7 +27,7 @@ contract ReentrancyGuard { _; rentrancy_lock = false; } else { - throw; + revert(); } } -- cgit