aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/gnosis/Events/Event.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/gnosis/Events/Event.sol
parent98c9ca257568e8f281a5d8857a45ef2c8aef2c77 (diff)
downloaddexon-solidity-3ee3018bf60d172270ca94ff416a3081477922d4.tar
dexon-solidity-3ee3018bf60d172270ca94ff416a3081477922d4.tar.gz
dexon-solidity-3ee3018bf60d172270ca94ff416a3081477922d4.tar.bz2
dexon-solidity-3ee3018bf60d172270ca94ff416a3081477922d4.tar.lz
dexon-solidity-3ee3018bf60d172270ca94ff416a3081477922d4.tar.xz
dexon-solidity-3ee3018bf60d172270ca94ff416a3081477922d4.tar.zst
dexon-solidity-3ee3018bf60d172270ca94ff416a3081477922d4.zip
Update external contracts in compilationTests (to support strict address literals)
Diffstat (limited to 'test/compilationTests/gnosis/Events/Event.sol')
-rw-r--r--test/compilationTests/gnosis/Events/Event.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compilationTests/gnosis/Events/Event.sol b/test/compilationTests/gnosis/Events/Event.sol
index 9aa257c4..cb991447 100644
--- a/test/compilationTests/gnosis/Events/Event.sol
+++ b/test/compilationTests/gnosis/Events/Event.sol
@@ -37,7 +37,7 @@ contract Event {
public
{
// Validate input
- require(address(_collateralToken) != 0 && address(_oracle) != 0 && outcomeCount >= 2);
+ require(address(_collateralToken) != address(0) && address(_oracle) != address(0) && outcomeCount >= 2);
collateralToken = _collateralToken;
oracle = _oracle;
// Create an outcome token for each outcome