made remaining public fallback functions external (#1080)
This commit is contained in:
committed by
Nicolás Venturo
parent
90b3050ad7
commit
ce0c3274ee
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user