mirror.py bugfix
This commit is contained in:
@@ -153,7 +153,7 @@ async def main():
|
||||
if isinstance(x, Exception):
|
||||
log.error(f'Failed to mirror token {token}: {x}')
|
||||
exit(1)
|
||||
txs = [await mirrorenv.transact.mirrorToken(info, gas=LOTSA_GAS) for info in token_infos]
|
||||
txs = await asyncio.gather(*[mirrorenv.transact.mirrorToken(info, gas=LOTSA_GAS) for info in token_infos], return_exceptions=True)
|
||||
for token, x in zip(tokens, txs):
|
||||
if isinstance(x, Exception):
|
||||
log.error(f'Failed to mirror token {token}: {x}')
|
||||
|
||||
Reference in New Issue
Block a user