Skip to content

Commit

Permalink
return empty list instead of None on tx_value address
Browse files Browse the repository at this point in the history
  • Loading branch information
soad003 committed Nov 27, 2024
1 parent add2f72 commit b4ec4c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 69 deletions.
68 changes: 0 additions & 68 deletions .idea/workspace.xml

This file was deleted.

2 changes: 1 addition & 1 deletion gsrest/service/txs_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b4ec4c5

Please sign in to comment.