Skip to content

Commit

Permalink
Fix typo in web3-eth-accounts (#5145)
Browse files Browse the repository at this point in the history
change localstorage to local storage

Co-authored-by: Junaid <86780488+jdevcs@users.noreply.github.com>
  • Loading branch information
cyborgRen and jdevcs committed Jun 23, 2022
1 parent 9d5ce48 commit 62f177f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/web3-eth-accounts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Returns
``Object`` - The account object with the following structure:

- ``address`` - ``string``: The account address.
- ``privateKey`` - ``string``: The accounts private key. This should never be shared or stored unencrypted in localstorage! Also make sure to ``null`` the memory after usage.
- ``privateKey`` - ``string``: The accounts private key. This should never be shared or stored unencrypted in local storage! Also make sure to ``null`` the memory after usage.
- ``signTransaction(tx [, callback])`` - ``Function``: The function to sign transactions. See :ref:`web3.eth.accounts.signTransaction() <eth-accounts-signtransaction>` for more.
- ``sign(data)`` - ``Function``: The function to sign transactions. See :ref:`web3.eth.accounts.sign() <eth-accounts-sign>` for more.

Expand Down Expand Up @@ -946,7 +946,7 @@ Parameters
----------

1. ``password`` - ``String``: The password to decrypt the wallet.
2. ``keyName`` - ``String``: (optional) The key used for the localstorage position, defaults to ``"web3js_wallet"``.
2. ``keyName`` - ``String``: (optional) The key used for the local storage position, defaults to ``"web3js_wallet"``.


-------
Expand Down

0 comments on commit 62f177f

Please sign in to comment.