mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fallback function has to be external: backwards-compatible changes.
This commit is contained in:
@@ -379,7 +379,7 @@ contract Wallet is multisig, multiowned, daylimit {
|
||||
}
|
||||
|
||||
// gets called when no other function matches
|
||||
function() payable {
|
||||
function() external payable {
|
||||
// just being sent some cash?
|
||||
if (msg.value > 0)
|
||||
emit Deposit(msg.sender, msg.value);
|
||||
|
||||
Reference in New Issue
Block a user