Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 9edd908

Browse files
authored
Merge pull request #3703 from dev-xu/patch-eth-utils-typo
Fix typo in web3-utils.rst
2 parents e13a50c + 0b2ea3b commit 9edd908

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/web3-utils.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ toWei
10431043
10441044
Converts any `ether value <http://ethdocs.org/en/latest/ether.html>`_ value into `wei <http://ethereum.stackexchange.com/questions/253/the-ether-denominations-are-called-finney-szabo-and-wei-what-who-are-these-na>`_.
10451045

1046-
.. note:: "wei" are the smallest ethere unit, and you should always make calculations in wei and convert only for display reasons.
1046+
.. note:: "wei" are the smallest ether unit, and you should always make calculations in wei and convert only for display reasons.
10471047

10481048
----------
10491049
Parameters
@@ -1117,7 +1117,7 @@ fromWei
11171117
11181118
Converts any `wei <http://ethereum.stackexchange.com/questions/253/the-ether-denominations-are-called-finney-szabo-and-wei-what-who-are-these-na>`_ value into a `ether value <http://ethdocs.org/en/latest/ether.html>`_.
11191119

1120-
.. note:: "wei" are the smallest ethere unit, and you should always make calculations in wei and convert only for display reasons.
1120+
.. note:: "wei" are the smallest ether unit, and you should always make calculations in wei and convert only for display reasons.
11211121

11221122
----------
11231123
Parameters
@@ -1391,4 +1391,3 @@ Example
13911391
13921392
web3.utils.toTwosComplement('-0x1');
13931393
> "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
1394-

0 commit comments

Comments
 (0)