Skip to content

Commit

Permalink
Update address
Browse files Browse the repository at this point in the history
  • Loading branch information
iamonuwa authored and pipermerriam committed Jan 8, 2019
1 parent 1d926bd commit f4451bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,9 @@ Query account balance

.. doctest::

>>> new_contract = w3.eth.contract(address=w3.eth.accounts[0], abi=json.loads(abi))
>>> w3.eth.getBalance(w3.eth.accounts[0])
999999999999999999350633
>>> new_contract = w3.eth.contract(address='0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7', abi=json.loads(abi))
>>> w3.eth.getBalance('0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7')
0

Querying the approved spending balance for external transfers
-------------------------------------------------------------
Expand Down

0 comments on commit f4451bf

Please sign in to comment.