made remaining public fallback functions external (#1080)

This commit is contained in:
Doug Crescenzi
2018-07-20 11:25:25 -04:00
committed by Nicolás Venturo
parent 90b3050ad7
commit ce0c3274ee
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ contract SimpleSavingsWallet is Heritable {
/** /**
* @dev wallet can receive funds. * @dev wallet can receive funds.
*/ */
function () public payable { function () external payable {
emit Received(msg.sender, msg.value, address(this).balance); emit Received(msg.sender, msg.value, address(this).balance);
} }

View File

@ -32,7 +32,7 @@ contract SplitPayment {
/** /**
* @dev payable fallback * @dev payable fallback
*/ */
function () public payable {} function () external payable {}
/** /**
* @dev Claim your share of the balance. * @dev Claim your share of the balance.