aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/zeppelin/Bounty.sol
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-06-25 22:54:50 +0800
committerGitHub <noreply@github.com>2018-06-25 22:54:50 +0800
commit0ac46090971aab21120875e0e55317e4bd2b397e (patch)
treea027ddad46f3c20ef7d3b013b230083895c81db5 /test/compilationTests/zeppelin/Bounty.sol
parentb7003505c46942ca2ee4e5317d14f421d5b9bc6d (diff)
parent6d9a091a8e0c7e5a958ff910c9f8dc828a39e0e4 (diff)
downloaddexon-solidity-0ac46090971aab21120875e0e55317e4bd2b397e.tar
dexon-solidity-0ac46090971aab21120875e0e55317e4bd2b397e.tar.gz
dexon-solidity-0ac46090971aab21120875e0e55317e4bd2b397e.tar.bz2
dexon-solidity-0ac46090971aab21120875e0e55317e4bd2b397e.tar.lz
dexon-solidity-0ac46090971aab21120875e0e55317e4bd2b397e.tar.xz
dexon-solidity-0ac46090971aab21120875e0e55317e4bd2b397e.tar.zst
dexon-solidity-0ac46090971aab21120875e0e55317e4bd2b397e.zip
Merge pull request #3534 from meowingtwurtle/strictAddresses
[BREAKING] Strict checking of address literals
Diffstat (limited to 'test/compilationTests/zeppelin/Bounty.sol')
-rw-r--r--test/compilationTests/zeppelin/Bounty.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compilationTests/zeppelin/Bounty.sol b/test/compilationTests/zeppelin/Bounty.sol
index 4425b7a5..4c62a0b4 100644
--- a/test/compilationTests/zeppelin/Bounty.sol
+++ b/test/compilationTests/zeppelin/Bounty.sol
@@ -48,7 +48,7 @@ contract Bounty is PullPayment, Destructible {
*/
function claim(Target target) {
address researcher = researchers[target];
- if (researcher == 0) {
+ if (researcher == address(0)) {
throw;
}
// Check Target contract invariants