Skip unknown contract tx in list

This commit is contained in:
nolash 2021-07-14 11:10:44 +02:00
parent 9079697ee5
commit 02fed3714f
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746
1 changed files with 1 additions and 0 deletions

View File

@ -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