aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/zeppelin/crowdsale/Crowdsale.sol
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-09-12 22:21:43 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-09-12 22:21:43 +0800
commit879251a78b2d4e26dc71299d2d7ca989d0855d61 (patch)
treefedf7b035e527103f178f9670bce4cbbc81d283d /test/compilationTests/zeppelin/crowdsale/Crowdsale.sol
parent1994b51ef3eb8de3617efec9747979c9fb5ed453 (diff)
downloaddexon-solidity-879251a78b2d4e26dc71299d2d7ca989d0855d61.tar.gz
dexon-solidity-879251a78b2d4e26dc71299d2d7ca989d0855d61.tar.zst
dexon-solidity-879251a78b2d4e26dc71299d2d7ca989d0855d61.zip
Update test suite to use address payable.
Diffstat (limited to 'test/compilationTests/zeppelin/crowdsale/Crowdsale.sol')
-rw-r--r--test/compilationTests/zeppelin/crowdsale/Crowdsale.sol4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compilationTests/zeppelin/crowdsale/Crowdsale.sol b/test/compilationTests/zeppelin/crowdsale/Crowdsale.sol
index 51eeb7b8..612afc25 100644
--- a/test/compilationTests/zeppelin/crowdsale/Crowdsale.sol
+++ b/test/compilationTests/zeppelin/crowdsale/Crowdsale.sol
@@ -22,7 +22,7 @@ contract Crowdsale {
uint256 public endBlock;
// address where funds are collected
- address public wallet;
+ address payable public wallet;
// how many token units a buyer gets per wei
uint256 public rate;
@@ -40,7 +40,7 @@ contract Crowdsale {
event TokenPurchase(address indexed purchaser, address indexed beneficiary, uint256 value, uint256 amount);
- constructor(uint256 _startBlock, uint256 _endBlock, uint256 _rate, address _wallet) public {
+ constructor(uint256 _startBlock, uint256 _endBlock, uint256 _rate, address payable _wallet) public {
require(_startBlock >= block.number);
require(_endBlock >= _startBlock);
require(_rate > 0);