Fallback function has to be external: backwards-compatible changes.

This commit is contained in:
chriseth
2018-06-29 00:23:52 +02:00
parent 4268062985
commit eeef82b2d7
43 changed files with 123 additions and 105 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ Now someone tricks you into sending ether to the address of this attack wallet:
owner = msg.sender;
}
function() public {
function() external {
TxUserWallet(msg.sender).transferTo(owner, msg.sender.balance);
}
}