Skip to content
Merged
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
Change visibility of fallbacks to external
  • Loading branch information
eternauta1337 committed Nov 23, 2017
commit bb1736e376161c0856e2d554626e6fff8680c7c9
2 changes: 1 addition & 1 deletion contracts/Bounty.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ contract Bounty is PullPayment, Destructible {
/**
* @dev Fallback function allowing the contract to receive funds, if they haven't already been claimed.
*/
function() public payable {
function() external payable {
require(!claimed);
}

Expand Down
2 changes: 1 addition & 1 deletion contracts/crowdsale/Crowdsale.sol
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ contract Crowdsale {


// fallback function can be used to buy tokens
function () public payable {
function () external payable {
buyTokens(msg.sender);
}

Expand Down
2 changes: 1 addition & 1 deletion test/helpers/SplitPaymentMock.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ import '../../contracts/payment/SplitPayment.sol';
contract SplitPaymentMock is SplitPayment {
function SplitPaymentMock(address[] _payees, uint256[] _shares) public
SplitPayment(_payees, _shares) payable {}
function () public payable {}
function () external payable {}
}