diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-06-12 17:05:49 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-06-25 22:17:50 +0800 |
commit | 3ee3018bf60d172270ca94ff416a3081477922d4 (patch) | |
tree | 3b19947caa078a7613abe99a60815709ce4143e2 /test/compilationTests/zeppelin/crowdsale/Crowdsale.sol | |
parent | 98c9ca257568e8f281a5d8857a45ef2c8aef2c77 (diff) | |
download | dexon-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/zeppelin/crowdsale/Crowdsale.sol')
-rw-r--r-- | test/compilationTests/zeppelin/crowdsale/Crowdsale.sol | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compilationTests/zeppelin/crowdsale/Crowdsale.sol b/test/compilationTests/zeppelin/crowdsale/Crowdsale.sol index bee1efd2..21d36840 100644 --- a/test/compilationTests/zeppelin/crowdsale/Crowdsale.sol +++ b/test/compilationTests/zeppelin/crowdsale/Crowdsale.sol @@ -44,7 +44,7 @@ contract Crowdsale { require(_startBlock >= block.number); require(_endBlock >= _startBlock); require(_rate > 0); - require(_wallet != 0x0); + require(_wallet != address(0x0)); token = createTokenContract(); startBlock = _startBlock; @@ -67,7 +67,7 @@ contract Crowdsale { // low level token purchase function function buyTokens(address beneficiary) payable { - require(beneficiary != 0x0); + require(beneficiary != address(0x0)); require(validPurchase()); uint256 weiAmount = msg.value; |