convert cursor to list

Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
Lorenz Herzberger 2022-04-12 12:09:19 +02:00
parent f7a57a5915
commit 7132ea40a6
No known key found for this signature in database
GPG Key ID: FA5EE906EB55316A

View File

@ -250,7 +250,7 @@ class Planetmint(object):
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
# transaction['assets'] = [asset]
transaction['assets'] = assets
transaction['assets'] = list(assets)
if 'metadata' not in transaction:
metadata = metadata[0] if metadata else None