Commit bb1736e3 by Alejandro Santander

Change visibility of fallbacks to external

parent c6e0edb2
...@@ -18,7 +18,7 @@ contract Bounty is PullPayment, Destructible { ...@@ -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. * @dev Fallback function allowing the contract to receive funds, if they haven't already been claimed.
*/ */
function() public payable { function() external payable {
require(!claimed); require(!claimed);
} }
......
...@@ -61,7 +61,7 @@ contract Crowdsale { ...@@ -61,7 +61,7 @@ contract Crowdsale {
// fallback function can be used to buy tokens // fallback function can be used to buy tokens
function () public payable { function () external payable {
buyTokens(msg.sender); buyTokens(msg.sender);
} }
......
...@@ -6,5 +6,5 @@ import '../../contracts/payment/SplitPayment.sol'; ...@@ -6,5 +6,5 @@ import '../../contracts/payment/SplitPayment.sol';
contract SplitPaymentMock is SplitPayment { contract SplitPaymentMock is SplitPayment {
function SplitPaymentMock(address[] _payees, uint256[] _shares) public function SplitPaymentMock(address[] _payees, uint256[] _shares) public
SplitPayment(_payees, _shares) payable {} SplitPayment(_payees, _shares) payable {}
function () public payable {} function () external payable {}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment