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:
parent
1d9aee97c2
commit
feebe3e755
@ -173,7 +173,7 @@ Yes::
|
||||
...
|
||||
}
|
||||
|
||||
function() payable {
|
||||
function() {
|
||||
...
|
||||
}
|
||||
|
||||
@ -210,7 +210,7 @@ No::
|
||||
...
|
||||
}
|
||||
|
||||
function() payable {
|
||||
function() {
|
||||
...
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user