mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fallback functions don't always have to be payable
This commit is contained in:
@@ -173,7 +173,7 @@ Yes::
|
||||
...
|
||||
}
|
||||
|
||||
function() payable {
|
||||
function() {
|
||||
...
|
||||
}
|
||||
|
||||
@@ -210,7 +210,7 @@ No::
|
||||
...
|
||||
}
|
||||
|
||||
function() payable {
|
||||
function() {
|
||||
...
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user