Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Ouziel committed Dec 25, 2024
1 parent a67d401 commit faa590a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion counterparty-core/counterpartycore/lib/ledger.py
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ def get_assets_last_issuance(state_db, asset_list):
},
}
for asset_info in assets_info:
if asset_info["asset_longname"] in asset_list:
if asset_info["asset_longname"] and asset_info["asset_longname"] in asset_list:
result[asset_info["asset_longname"]] = asset_info
result[asset_info["asset"]] = asset_info
else:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6534,7 +6534,6 @@
"fee_required": 900000,
"status": "open",
"give_asset_info": {
"asset": "XCP",
"asset_longname": null,
"description": "The Counterparty protocol native currency",
"issuer": null,
Expand Down

0 comments on commit faa590a

Please sign in to comment.