diff --git a/tasks.py b/tasks.py index 70f3205..412f2b5 100644 --- a/tasks.py +++ b/tasks.py @@ -425,7 +425,13 @@ async def _on_list_transactions( { "type": "outgoing" if p.is_out else "incoming", "invoice": p.bolt11, - "description": invoice_data.description, + # Fallback chain so a human-readable description reaches + # the NWC client. Mirror of `_on_lookup_invoice` + "description": ( + (p.extra or {}).get("comment") + or invoice_data.description + or p.memo + ), "description_hash": invoice_data.description_hash, "preimage": p.preimage if is_settled or p.is_in else None, "payment_hash": p.payment_hash,