diff --git a/apps/cic-eth/cic_eth/ext/tx.py b/apps/cic-eth/cic_eth/ext/tx.py index 340f77be..6934b8c7 100644 --- a/apps/cic-eth/cic_eth/ext/tx.py +++ b/apps/cic-eth/cic_eth/ext/tx.py @@ -149,6 +149,9 @@ def tx_collate(tx_batches, chain_str, offset, limit, newest_first=True): txs_by_block = {} chain_spec = ChainSpec.from_chain_str(chain_str) + if isinstance(tx_batches, dict): + tx_batches = [tx_batches] + for b in tx_batches: for v in b.values(): tx = None