From febbfd4204f72ea9371553dc3f2e349309b1bb0c Mon Sep 17 00:00:00 2001 From: Erik Kundt Date: Wed, 4 Jul 2018 19:20:51 +0200 Subject: Adds visibility to compilation tests. --- test/compilationTests/zeppelin/crowdsale/RefundableCrowdsale.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/compilationTests/zeppelin/crowdsale/RefundableCrowdsale.sol') 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()); -- cgit