Skip to content

Commit

Permalink
Merge pull request #1283 from pataegrillo/hot_fix_invalid_description
Browse files Browse the repository at this point in the history
hotfix - invalid `null` description on first issuance
  • Loading branch information
jdogresorg authored Dec 1, 2023
2 parents fffdb01 + 5d36f41 commit 8aebc19
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion counterpartylib/lib/messages/issuance.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,10 @@ def parse (db, tx, message, message_type_id):
asset = namedAsset

if description == None:
description = util.get_asset_description(db, asset)
try:
description = util.get_asset_description(db, asset)
except exceptions.AssetError:
description = ""

status = 'valid'
except exceptions.AssetIDError:
Expand Down

0 comments on commit 8aebc19

Please sign in to comment.