mirror of
https://github.com/planetmint/planetmint.git
synced 2025-10-14 00:59:17 +00:00
blackified
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
d84516eb54
commit
11ec355963
@ -62,7 +62,7 @@ class Dispatcher:
|
|||||||
asset_ids.append(tx.assets)
|
asset_ids.append(tx.assets)
|
||||||
elif isinstance(tx.assets, list):
|
elif isinstance(tx.assets, list):
|
||||||
for asset in tx.assets:
|
for asset in tx.assets:
|
||||||
asset_ids.append(asset.get("id", tx.id) )
|
asset_ids.append(asset.get("id", tx.id))
|
||||||
else:
|
else:
|
||||||
asset_ids = [tx.id]
|
asset_ids = [tx.id]
|
||||||
yield {"height": block["height"], "asset_ids": asset_ids, "transaction_id": tx.id}
|
yield {"height": block["height"], "asset_ids": asset_ids, "transaction_id": tx.id}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user