mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fixed consistent use of nameReg
Fixed consistent use of `nameReg` instead of `namReg`
This commit is contained in:
parent
b6e2e4ad6b
commit
caf44302e5
@ -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::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user