mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-24 22:45:44 +00:00
convert cursor to list
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
parent
f7a57a5915
commit
7132ea40a6
@ -250,7 +250,7 @@ class Planetmint(object):
|
|||||||
if assets:
|
if assets:
|
||||||
# NOTE: THIS IS A HACK TO SEE IF THE TX HASH IS CORRECT FOR TESTS, NEEDS TO BE REPLACED AFTER backend.query.get_assets_for_tx is finished
|
# NOTE: THIS IS A HACK TO SEE IF THE TX HASH IS CORRECT FOR TESTS, NEEDS TO BE REPLACED AFTER backend.query.get_assets_for_tx is finished
|
||||||
# transaction['assets'] = [asset]
|
# transaction['assets'] = [asset]
|
||||||
transaction['assets'] = assets
|
transaction['assets'] = list(assets)
|
||||||
|
|
||||||
if 'metadata' not in transaction:
|
if 'metadata' not in transaction:
|
||||||
metadata = metadata[0] if metadata else None
|
metadata = metadata[0] if metadata else None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user