aboutsummaryrefslogtreecommitdiffstats
path: root/docs/types.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/types.rst')
-rw-r--r--docs/types.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/types.rst b/docs/types.rst
index 04f8d808..020cb105 100644
--- a/docs/types.rst
+++ b/docs/types.rst
@@ -280,7 +280,7 @@ Example::
It is possible to adjust the supplied gas with the ``.gas()`` modifier::
- address(namReg).call.gas(1000000)(abi.encodeWithSignature("register(string)", "MyName"));
+ address(nameReg).call.gas(1000000)(abi.encodeWithSignature("register(string)", "MyName"));
Similarly, the supplied Ether value can be controlled too::