diff options
author | Erik Kundt <bitshift@posteo.org> | 2018-07-05 01:20:51 +0800 |
---|---|---|
committer | Erik Kundt <bitshift@posteo.org> | 2018-07-05 01:20:51 +0800 |
commit | febbfd4204f72ea9371553dc3f2e349309b1bb0c (patch) | |
tree | f0543d5cb7948a13a555e9695a41b7f1053d798f /test/compilationTests/zeppelin/crowdsale/RefundableCrowdsale.sol | |
parent | 7101a8905656d52cf9023a2e4340219d184920c3 (diff) | |
download | dexon-solidity-febbfd4204f72ea9371553dc3f2e349309b1bb0c.tar.gz dexon-solidity-febbfd4204f72ea9371553dc3f2e349309b1bb0c.tar.zst dexon-solidity-febbfd4204f72ea9371553dc3f2e349309b1bb0c.zip |
Adds visibility to compilation tests.
Diffstat (limited to 'test/compilationTests/zeppelin/crowdsale/RefundableCrowdsale.sol')
-rw-r--r-- | test/compilationTests/zeppelin/crowdsale/RefundableCrowdsale.sol | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compilationTests/zeppelin/crowdsale/RefundableCrowdsale.sol b/test/compilationTests/zeppelin/crowdsale/RefundableCrowdsale.sol index bb6b5e17..94e3af99 100644 --- a/test/compilationTests/zeppelin/crowdsale/RefundableCrowdsale.sol +++ b/test/compilationTests/zeppelin/crowdsale/RefundableCrowdsale.sol @@ -21,7 +21,7 @@ contract RefundableCrowdsale is FinalizableCrowdsale { // refund vault used to hold funds while crowdsale is running RefundVault public vault; - constructor(uint256 _goal) { + constructor(uint256 _goal) public { vault = new RefundVault(wallet); goal = _goal; } @@ -34,7 +34,7 @@ contract RefundableCrowdsale is FinalizableCrowdsale { } // if crowdsale is unsuccessful, investors can claim refunds here - function claimRefund() { + function claimRefund() public { require(isFinalized); require(!goalReached()); |