diff options
author | Denton Liu <liu.denton+github@gmail.com> | 2016-06-02 21:29:53 +0800 |
---|---|---|
committer | Denton Liu <liu.denton+github@gmail.com> | 2016-06-02 21:29:53 +0800 |
commit | bb83fd5adb22fe919dca49cecd012c6dd4bc64f3 (patch) | |
tree | 59a73f12d24589d0c09a3a85746948919bf81300 | |
parent | a7b5e21e6672425cbbe2ac57ae2cf0bf40d62bec (diff) | |
download | dexon-solidity-bb83fd5adb22fe919dca49cecd012c6dd4bc64f3.tar dexon-solidity-bb83fd5adb22fe919dca49cecd012c6dd4bc64f3.tar.gz dexon-solidity-bb83fd5adb22fe919dca49cecd012c6dd4bc64f3.tar.bz2 dexon-solidity-bb83fd5adb22fe919dca49cecd012c6dd4bc64f3.tar.lz dexon-solidity-bb83fd5adb22fe919dca49cecd012c6dd4bc64f3.tar.xz dexon-solidity-bb83fd5adb22fe919dca49cecd012c6dd4bc64f3.tar.zst dexon-solidity-bb83fd5adb22fe919dca49cecd012c6dd4bc64f3.zip |
Changed reference name
-rw-r--r-- | docs/types.rst | 2 | ||||
-rw-r--r-- | docs/units-and-global-variables.rst | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/docs/types.rst b/docs/types.rst index 16eccb16..6a69f5be 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -72,7 +72,7 @@ Members of Addresses * ``balance`` and ``send`` -For a quick reference, see :ref:`balance` and :ref:`send`. +For a quick reference, see :ref:`address_related`. It is possible to query the balance of an address using the property ``balance`` and to send Ether (in units of wei) to an address using the ``send`` function: diff --git a/docs/units-and-global-variables.rst b/docs/units-and-global-variables.rst index 7fcb2d7a..aa0056d2 100644 --- a/docs/units-and-global-variables.rst +++ b/docs/units-and-global-variables.rst @@ -111,8 +111,7 @@ same as ``sha3(uint16(0x12))``. It might be that you run into Out-of-Gas for ``sha256``, ``ripemd160`` or ``ecrecover`` on a *private blockchain*. The reason for this is that those are implemented as so-called precompiled contracts and these contracts only really exist after they received the first message (although their contract code is hardcoded). Messages to non-existing contracts are more expensive and thus the execution runs into an Out-of-Gas error. A workaround for this problem is to first send e.g. 1 Wei to each of the contracts before you use them in your actual contracts. This is not an issue on the official or test net. -.. _balance: -.. _send: +.. _address_related: Address Related --------------- |