Add wait to token index add

This commit is contained in:
nolash 2021-02-09 19:28:50 +01:00
parent 7c1e8b3561
commit 0043beb07b
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
3 changed files with 7 additions and 3 deletions

View File

@ -46,8 +46,9 @@ if args.vv:
elif args.v: elif args.v:
logg.setLevel(logging.INFO) logg.setLevel(logging.INFO)
block_last = args.w
block_all = args.ww block_all = args.ww
block_last = args.w or block_all
w3 = web3.Web3(web3.Web3.HTTPProvider(args.p)) w3 = web3.Web3(web3.Web3.HTTPProvider(args.p))

View File

@ -46,8 +46,8 @@ if args.vv:
elif args.v: elif args.v:
logg.setLevel(logging.INFO) logg.setLevel(logging.INFO)
block_last = args.w
block_all = args.ww block_all = args.ww
block_last = args.w or block_all
w3 = web3.Web3(web3.Web3.HTTPProvider(args.p)) w3 = web3.Web3(web3.Web3.HTTPProvider(args.p))
@ -96,6 +96,9 @@ def main():
], ],
) )
if block_last:
helper.wait_for()
print(tx_hash) print(tx_hash)

View File

@ -1,6 +1,6 @@
[metadata] [metadata]
name = eth-address-index name = eth-address-index
version = 0.1.0a7 version = 0.1.0a8
description = Signed metadata declarations for ethereum addresses description = Signed metadata declarations for ethereum addresses
author = Louis Holbrook author = Louis Holbrook
author_email = dev@holbrook.no author_email = dev@holbrook.no