eth-erc20

ERC20 interface and example giftable token contract
Log | Files | Refs | LICENSE

commit 560e8d7bb13b823dbb45cf84081a2eb95c67c204
parent 0671e3faa9d48182d214b920aec8d26651a6312c
Author: nolash <dev@holbrook.no>
Date:   Mon, 28 Jun 2021 12:49:58 +0200

Correct hard-coded zero-address for balance alias

Diffstat:
Mpython/eth_erc20/erc20.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/eth_erc20/erc20.py b/python/eth_erc20/erc20.py @@ -52,7 +52,7 @@ class ERC20(TxFactory): def balance(self, contract_address, address, sender_address=ZERO_ADDRESS, id_generator=None): - return self.balance_of(contract_address, address, sender_address=ZERO_ADDRESS, id_generator=id_generator) + return self.balance_of(contract_address, address, sender_address=sender_address, id_generator=id_generator) def symbol(self, contract_address, sender_address=ZERO_ADDRESS, id_generator=None):