mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Split fallback function and introduce "fallback()" and "receive()" syntax.
This commit is contained in:
@@ -25,7 +25,7 @@ contract B is A {
|
||||
|
||||
address public mySistersAddress = 0x999999cf1046e68e36E1aA2E0E07105eDDD1f08E;
|
||||
|
||||
function () external {
|
||||
fallback () external {
|
||||
used = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user