From 62f177f4c4508de56b0d45ccfa671c991f149ef1 Mon Sep 17 00:00:00 2001 From: cyborgRen <107702661+cyborgRen@users.noreply.github.com> Date: Thu, 23 Jun 2022 10:52:40 -0400 Subject: [PATCH] Fix typo in web3-eth-accounts (#5145) change localstorage to local storage Co-authored-by: Junaid <86780488+jdevcs@users.noreply.github.com> --- docs/web3-eth-accounts.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/web3-eth-accounts.rst b/docs/web3-eth-accounts.rst index 054078f913a..16466d9842a 100644 --- a/docs/web3-eth-accounts.rst +++ b/docs/web3-eth-accounts.rst @@ -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() ` for more. - ``sign(data)`` - ``Function``: The function to sign transactions. See :ref:`web3.eth.accounts.sign() ` for more. @@ -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"``. -------