From 9d5b0c9d80d9f5286de0552d91f33947f2654f13 Mon Sep 17 00:00:00 2001 From: Leonardo Alt Date: Fri, 13 Dec 2019 16:42:24 +0100 Subject: [PATCH] Docs common patterns --- docs/common-patterns.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/common-patterns.rst b/docs/common-patterns.rst index ed87666d9..ab25cb4b9 100644 --- a/docs/common-patterns.rst +++ b/docs/common-patterns.rst @@ -82,7 +82,7 @@ This is as opposed to the more intuitive sending pattern: Notice that, in this example, an attacker could trap the contract into an unusable state by causing ``richest`` to be -the address of a contract that has a fallback function +the address of a contract that has a receive or fallback function which fails (e.g. by using ``revert()`` or by just consuming more than the 2300 gas stipend transferred to them). That way, whenever ``transfer`` is called to deliver funds to the