small doc addition

This commit is contained in:
Fabian Vogelsteller 2017-03-16 16:36:08 +01:00
parent 5211feb9c7
commit 683c0826e3
No known key found for this signature in database
GPG Key ID: E51EADA77F1A4124

View File

@ -26,11 +26,11 @@ The ``web3-eth`` package allows you to interact with an Ethereum blockchain and
Note on checksum addresses
=======
All Ethereum addresses returned by function of this package are checksum addresses.
All Ethereum addresses returned by functions of this package are returned as checksum addresses.
This means some letters are uppercase and some are lowercase.
Based on that it will calculate a checksum for the address and prove its correctness.
Incorrect checksum address will throw an error when passed into a function.
If you want to circumvent the checksum check you can make an address all lowercase or uppercase.
Incorrect checksum address will throw an error when passed into functions.
If you want to circumvent the checksum check you can make an address all lower- or uppercase.
-------
@ -40,7 +40,7 @@ Example
.. code-block:: javascript
web3.eth.getAccounts(console.log);
> ["0x11f4d0A3c12e86B4b5F39B213F7E19D048276DAe"]
> ["0x11f4d0A3c12e86B4b5F39B213F7E19D048276DAe" ,"0x85F43D8a49eeB85d32Cf465507DD71d507100C1d"]
------------------------------------------------------------------------------