aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorYet another codejunkie <2772295+kn1g@users.noreply.github.com>2018-11-15 17:10:28 +0800
committerGitHub <noreply@github.com>2018-11-15 17:10:28 +0800
commitcaf44302e56208a5ee428d87b27fe647813886da (patch)
tree713919fbaee6c43059ee7a7e5cbc4ff366b7464f /docs
parentb6e2e4ad6b909500ed0f015d79927941f8a0de95 (diff)
downloaddexon-solidity-caf44302e56208a5ee428d87b27fe647813886da.tar.gz
dexon-solidity-caf44302e56208a5ee428d87b27fe647813886da.tar.zst
dexon-solidity-caf44302e56208a5ee428d87b27fe647813886da.zip
Fixed consistent use of `nameReg`
Fixed consistent use of `nameReg` instead of `namReg`
Diffstat (limited to 'docs')
-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::