mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #9749 from nikeshnazareth/fix-documentation-typo
Fix typo: "fallback" should be "receive"
This commit is contained in:
commit
90d356b3a8
@ -277,7 +277,7 @@ neither a receive Ether nor a payable fallback function is present, the
|
|||||||
contract cannot receive Ether through regular transactions and throws an
|
contract cannot receive Ether through regular transactions and throws an
|
||||||
exception.
|
exception.
|
||||||
|
|
||||||
In the worst case, the fallback function can only rely on 2300 gas being
|
In the worst case, the ``receive`` function can only rely on 2300 gas being
|
||||||
available (for example when ``send`` or ``transfer`` is used), leaving little
|
available (for example when ``send`` or ``transfer`` is used), leaving little
|
||||||
room to perform other operations except basic logging. The following operations
|
room to perform other operations except basic logging. The following operations
|
||||||
will consume more gas than the 2300 gas stipend:
|
will consume more gas than the 2300 gas stipend:
|
||||||
|
Loading…
Reference in New Issue
Block a user