From b4ec4c5ea5cc9b6b0f5a2937defc1c59fecd8b03 Mon Sep 17 00:00:00 2001 From: "Michael F." Date: Wed, 27 Nov 2024 11:40:09 +0100 Subject: [PATCH] return empty list instead of None on tx_value address --- .idea/workspace.xml | 68 ----------------------------------- gsrest/service/txs_service.py | 2 +- 2 files changed, 1 insertion(+), 69 deletions(-) delete mode 100644 .idea/workspace.xml diff --git a/.idea/workspace.xml b/.idea/workspace.xml deleted file mode 100644 index 0d1e2d4f..00000000 --- a/.idea/workspace.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - { - "customColor": "", - "associatedIndex": 6 -} - - - - { - "keyToString": { - "RunOnceActivity.ShowReadmeOnStart": "true", - "git-widget-placeholder": "develop", - "node.js.detected.package.eslint": "true", - "node.js.detected.package.tslint": "true", - "node.js.selected.package.eslint": "(autodetect)", - "node.js.selected.package.tslint": "(autodetect)", - "nodejs_package_manager_path": "npm", - "org.elm.workspace.PROJECT_DISCOVERY": "true", - "vue.rearranger.settings.migration": "true" - } -} - - - - - - - - - - - 1730717388220 - - - - - - \ No newline at end of file diff --git a/gsrest/service/txs_service.py b/gsrest/service/txs_service.py index c9beb2bd..9d07af5c 100644 --- a/gsrest/service/txs_service.py +++ b/gsrest/service/txs_service.py @@ -135,7 +135,7 @@ def io_from_rows(currency, values, key, rates, include_io, index=idx if include_io_index else None)) elif include_nonstandard_io: results.append( - TxValue(address=None, + TxValue(address=[], value=convert_value(currency, i.value, rates), index=idx if include_io_index else None)) return results