Skip to content

Commit

Permalink
speculative fix for 2393
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmarcello committed Oct 17, 2024
1 parent a2cb8fc commit 93f363f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion counterparty-core/counterpartycore/lib/api/api_watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,11 @@ def update_assets_info(api_db, event):
"SELECT * FROM assets_info WHERE asset = :asset",
{"asset": event_bindings["asset"]},
)
if existing_asset is not None and not event_bindings["confirmed"]:
if existing_asset is None or (
existing_asset is not None and not event_bindings["confirmed"]
):
return

set_data = []
set_data.append("divisible = :divisible")
set_data.append("description = :description")
Expand Down

0 comments on commit 93f363f

Please sign in to comment.