aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/zeppelin/ReentrancyGuard.sol
diff options
context:
space:
mode:
Diffstat (limited to 'test/compilationTests/zeppelin/ReentrancyGuard.sol')
-rw-r--r--test/compilationTests/zeppelin/ReentrancyGuard.sol4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compilationTests/zeppelin/ReentrancyGuard.sol b/test/compilationTests/zeppelin/ReentrancyGuard.sol
index ca8b643b..7805ec07 100644
--- a/test/compilationTests/zeppelin/ReentrancyGuard.sol
+++ b/test/compilationTests/zeppelin/ReentrancyGuard.sol
@@ -1,7 +1,7 @@
pragma solidity ^0.4.11;
/**
- * @title Helps contracts guard agains rentrancy attacks.
+ * @title Helps contracts guard against rentrancy attacks.
* @author Remco Bloemen <remco@2π.com>
* @notice If you mark a function `nonReentrant`, you should also
* mark it `external`.
@@ -27,7 +27,7 @@ contract ReentrancyGuard {
_;
rentrancy_lock = false;
} else {
- throw;
+ revert();
}
}