mirror of
https://github.com/chaintool-py/eth-erc20.git
synced 2024-11-22 01:36:46 +01:00
Remove auto checksum address
This commit is contained in:
parent
646fc8c1e1
commit
6ab532e741
@ -51,7 +51,7 @@ def main():
|
||||
|
||||
w3.eth.defaultAccount = w3.eth.accounts[0]
|
||||
if args.o != None:
|
||||
w3.eth.defaultAccount = web3.Web3.toChecksumAddress(args.o)
|
||||
w3.eth.defaultAccount = args.o
|
||||
|
||||
c = w3.eth.contract(abi=abi, bytecode=bytecode)
|
||||
tx_hash = c.constructor(args.n, args.s, args.d).transact()
|
||||
|
Loading…
Reference in New Issue
Block a user