Compare commits

...

1 Commits

Author SHA1 Message Date
nolash
db36ba997d
Handle single dict input to tx list, add tx list ext task to tasker 2021-03-02 16:50:48 +01:00

View File

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