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:
1 parent
1d9aee97c2
commit
feebe3e755
1 file changed
+2
-2
@@ -173,7 +173,7 @@ Yes::
|
||||
...
|
||||
}
|
||||
|
||||
function() payable {
|
||||
function() {
|
||||
...
|
||||
}
|
||||
|
||||
@@ -210,7 +210,7 @@ No::
|
||||
...
|
||||
}
|
||||
|
||||
function() payable {
|
||||
function() {
|
||||
...
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user