fix(lightning): the wallet's payment list says a close is a close, and a sent amount without its fee

The same two misreadings the regtest run found in the room's lines, on the
wallet screen: a channel's close, which lightning-kmp files as an outgoing
payment with no payment hash, was listed as sent, and a sent amount
included its fee. Both now read through GroupLightningReports.isChannelClose
and recipientMsat, which the room's lines use too. A close is listed as one,
or as closing until it confirms.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-10-27 09:06:02 +02:00
1 parent 94385d2f4a
commit c4d8561cb0
5 files changed
+87 -8

No files matched your search

@@ -613,6 +613,8 @@
<string name="received_s_sats">Received %1$s sats</string>
<string name="sent_s_sats_with_a_fee_of_s_sats">Sent %1$s sats, with a fee of %2$s sats</string>
<string name="couldn_t_send_s_sats">Couldn't send %1$s sats</string>
<string name="a_channel_closed_s_sats_to_the_onchain_wallet">A channel closed: %1$s sats to the onchain wallet</string>
<string name="a_channel_is_closing_s_sats_to_the_onchain_wallet">A channel is closing: %1$s sats to the onchain wallet</string>
<string name="receive">Receive</string>
<string name="what_it_is_for">What it's for</string>
<string name="leave_the_amount_empty_to_let_the_payer_choose">Leave the amount empty to let the payer choose.</string>