Skip to content

Commit

Permalink
Merge pull request #3518 from ethereum/fixSendTxDocsNote
Browse files Browse the repository at this point in the history
Docs: fix newline in `sendTransaction` note
  • Loading branch information
ryanio authored May 13, 2020
2 parents dd4c8ec + 17040f0 commit 137ca7b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/web3-eth.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1346,8 +1346,7 @@ Parameters

2. ``callback`` - ``Function``: (optional) Optional callback, returns an error object as first parameter and the result as second.

.. note:: The ``from`` property can also be an address or index from the :ref:`web3.eth.accounts.wallet <eth_accounts_wallet>`. It will then sign locally using the private key of that account, and send the transaction via :ref:`web3.eth.sendSignedTransaction() <eth-sendsignedtransaction>`. If the properties ``chain`` and ``hardfork`` or ``common`` are not set, Web3 will try to set appropriate values by
querying the network for its chainId and networkId.
.. note:: The ``from`` property can also be an address or index from the :ref:`web3.eth.accounts.wallet <eth_accounts_wallet>`. It will then sign locally using the private key of that account, and send the transaction via :ref:`web3.eth.sendSignedTransaction() <eth-sendsignedtransaction>`. If the properties ``chain`` and ``hardfork`` or ``common`` are not set, Web3 will try to set appropriate values by querying the network for its chainId and networkId.

.. _eth-sendtransaction-return:

Expand Down

0 comments on commit 137ca7b

Please sign in to comment.