Commit ce0c3274 by Doug Crescenzi Committed by Nicolás Venturo

made remaining public fallback functions external (#1080)

parent 90b3050a
...@@ -24,7 +24,7 @@ contract SimpleSavingsWallet is Heritable { ...@@ -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 { ...@@ -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.
......
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