From b94b927a918cbce22b894ed31ad6096e343d154e Mon Sep 17 00:00:00 2001 From: Nikesh Nazareth Date: Mon, 7 Sep 2020 15:59:56 +1000 Subject: [PATCH] Fix typo: "fallback" should be "receive" --- docs/contracts/functions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contracts/functions.rst b/docs/contracts/functions.rst index e7c97c33d..cb6b30df5 100644 --- a/docs/contracts/functions.rst +++ b/docs/contracts/functions.rst @@ -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 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 room to perform other operations except basic logging. The following operations will consume more gas than the 2300 gas stipend: