fixed __asset_check

Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
Lorenz Herzberger 2022-06-20 14:24:04 +02:00
parent 54d4f31929
commit d87c53aa8b
No known key found for this signature in database
GPG Key ID: FA5EE906EB55316A

View File

@ -64,7 +64,7 @@ class TransactionDecompose:
if _asset is None: if _asset is None:
return return
asset_id = _asset["id"] if _asset.get("id") is not None else self._transaction["id"] asset_id = _asset["id"] if _asset.get("id") is not None else self._transaction["id"]
self._tuple_transaction["asset"] = (json.loads(_asset), self._transaction["id"], asset_id) self._tuple_transaction["asset"] = (json.dumps(_asset), self._transaction["id"], asset_id)
def __prepare_inputs(self): def __prepare_inputs(self):
_inputs = [] _inputs = []