Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
abstract base contracts visibility internal -> public
  • Loading branch information
azavalla committed Nov 13, 2017
commit d36afa815719779f729430ff69564f712f222fdc
4 changes: 1 addition & 3 deletions contracts/crowdsale/Crowdsale.sol
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ contract Crowdsale {
uint256 _endTime,
uint256 _rate,
address _wallet
)
internal
{
) {
require(_startTime >= now);
require(_endTime >= _startTime);
require(_rate > 0);
Expand Down
2 changes: 1 addition & 1 deletion contracts/lifecycle/Destructible.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import "../ownership/Ownable.sol";
*/
contract Destructible is Ownable {

function Destructible() internal payable { }
function Destructible() public payable { }

/**
* @dev Transfers the current balance to the owner and terminates the contract.
Expand Down
2 changes: 1 addition & 1 deletion contracts/lifecycle/TokenDestructible.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import "../token/ERC20Basic.sol";
*/
contract TokenDestructible is Ownable {

function TokenDestructible() internal payable { }
function TokenDestructible() public payable { }

/**
* @notice Terminate contract and refund to owner
Expand Down