From d4db1624b54adfac3513754df8db9278e4866d83 Mon Sep 17 00:00:00 2001 From: Chua Chee Wee <1757930+chuacw@users.noreply.github.com> Date: Mon, 30 Oct 2017 15:40:28 +0800 Subject: [PATCH] Changed limitation to feature Changed the word "limitation" to "feature" for the note where transfer is described. --- docs/types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/types.rst b/docs/types.rst index 774c1d04d..0be8255e9 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -129,7 +129,7 @@ and to send Ether (in units of wei) to an address using the ``transfer`` functio if (x.balance < 10 && myAddress.balance >= 10) x.transfer(10); .. note:: - If ``x`` is a contract address, its code (more specifically: its fallback function, if present) will be executed together with the ``transfer`` call (this is a limitation of the EVM and cannot be prevented). If that execution runs out of gas or fails in any way, the Ether transfer will be reverted and the current contract will stop with an exception. + If ``x`` is a contract address, its code (more specifically: its fallback function, if present) will be executed together with the ``transfer`` call (this is a feature of the EVM and cannot be prevented). If that execution runs out of gas or fails in any way, the Ether transfer will be reverted and the current contract will stop with an exception. * ``send``