aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/corion/module.sol
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-06-12 17:05:49 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-06-25 22:17:50 +0800
commit3ee3018bf60d172270ca94ff416a3081477922d4 (patch)
tree3b19947caa078a7613abe99a60815709ce4143e2 /test/compilationTests/corion/module.sol
parent98c9ca257568e8f281a5d8857a45ef2c8aef2c77 (diff)
downloaddexon-solidity-3ee3018bf60d172270ca94ff416a3081477922d4.tar.gz
dexon-solidity-3ee3018bf60d172270ca94ff416a3081477922d4.tar.zst
dexon-solidity-3ee3018bf60d172270ca94ff416a3081477922d4.zip
Update external contracts in compilationTests (to support strict address literals)
Diffstat (limited to 'test/compilationTests/corion/module.sol')
-rw-r--r--test/compilationTests/corion/module.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compilationTests/corion/module.sol b/test/compilationTests/corion/module.sol
index 51fb8231..5f13215f 100644
--- a/test/compilationTests/corion/module.sol
+++ b/test/compilationTests/corion/module.sol
@@ -123,7 +123,7 @@ contract module {
@ret This is the module handler address or not
*/
- if ( moduleHandlerAddress == 0x00 ) { return true; }
+ if ( moduleHandlerAddress == address(0x00) ) { return true; }
if ( moduleStatus != status.Connected ) { return false; }
return addr == moduleHandlerAddress;
}