Skip to content

Commit

Permalink
Correct doc (#151)
Browse files Browse the repository at this point in the history
Co-authored-by: Qxe5 <NULL>
  • Loading branch information
Qxe5 committed Jul 24, 2021
1 parent 776f97a commit f6cd77b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/guide/keys.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ derive your address and is needed in the construction of every transaction.
Addresses
---------

All keys possess a :func:`~bit.PrivateKey.address` property which is derived from your public key:
All keys possess a :attr:`~bit.PrivateKey.address` property which is derived from your public key:

.. code-block:: python
Expand All @@ -126,15 +126,15 @@ All keys possess a :func:`~bit.PrivateKey.address` property which is derived fro
This is what you share with others to receive payments.

Bit also allows to use nested Segwit addresses, which can be displayed with the
:func:`~bit.PrivateKey.segwit_address` property:
:attr:`~bit.PrivateKey.segwit_address` property:

.. code-block:: python
>>> key.segwit_address
'3DYf8JL9F6Lmz98gpvYMH5qVMXAEazSEEn'
The address of a multisignature key can be displayed in similar manner using the
same properties :func:`~bit.MultiSig.address` and :func:`~bit.MultiSig.segwit_address`:
same properties :attr:`~bit.MultiSig.address` and :attr:`~bit.MultiSig.segwit_address`:

.. code-block:: python
Expand Down

0 comments on commit f6cd77b

Please sign in to comment.