diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-07-09 21:59:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-09 21:59:42 +0800 |
commit | 694754b4fe410abfa0661e29dd3e6d4d1ea1283e (patch) | |
tree | 575e2e8075bd13b36c54e8d4518c1e77269aefb5 /test/compilationTests/zeppelin/crowdsale/RefundableCrowdsale.sol | |
parent | e028d25ed34752a494a1efc0d3f9e4f0f1287d76 (diff) | |
parent | febbfd4204f72ea9371553dc3f2e349309b1bb0c (diff) | |
download | dexon-solidity-694754b4fe410abfa0661e29dd3e6d4d1ea1283e.tar.gz dexon-solidity-694754b4fe410abfa0661e29dd3e6d4d1ea1283e.tar.zst dexon-solidity-694754b4fe410abfa0661e29dd3e6d4d1ea1283e.zip |
Merge pull request #4432 from ethereum/visibilityCompilationTests
Specify default visibility in 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()); |