Skip unknown contract tx in list
This commit is contained in:
parent
9079697ee5
commit
02fed3714f
@ -194,6 +194,7 @@ def tx_collate(tx_batches, chain_spec_dict, offset, limit, newest_first=True, ve
|
||||
tx = verify_and_expand(tx, chain_spec)
|
||||
except UnknownContractError:
|
||||
logg.error('verify failed on tx {}, skipping'.format(tx['hash']))
|
||||
continue
|
||||
txs.append(tx)
|
||||
|
||||
return txs
|
||||
|
Loading…
Reference in New Issue
Block a user