aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/zaps.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-07 12:52:14 -0700
committerAdam Soltys <[email protected]>2026-10-07 12:52:14 -0700
commit6faf6b6fe49b8e51a38e0106c858341faf2145ef (patch)
treedc7fe7ebe86552f166a980cb046563c9b651de97 /src/features/zaps.js
parent7c76b28b3e52622f8a8f734df7478ec8ba5428cf (diff)
downloadcoinosv3-6faf6b6fe49b8e51a38e0106c858341faf2145ef.tar.gz
coinosv3-6faf6b6fe49b8e51a38e0106c858341faf2145ef.zip
History: a Lightning payment still settling (a zap, mostly) shows at once as a pending Sent row with the recipient's face, and gives way to its completed row
One-tap zaps now record who they went to, so their rows carry a face too. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/features/zaps.js')
-rw-r--r--src/features/zaps.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/zaps.js b/src/features/zaps.js
index f0b655a..a23ecdd 100644
--- a/src/features/zaps.js
+++ b/src/features/zaps.js
@@ -213,7 +213,7 @@ export function zapsFeature(ctx) {
});
}
const invoice = await requestInvoice(p, { amountMsat: msat, zapRequest, lnurlBech32: t2.lnurlBech32 });
- await hook('arkPayInvoice', invoice, { maxAmountSat: sats + 50 });
+ await hook('arkPayInvoice', invoice, { maxAmountSat: sats + 50, pk: t2.pk || null });
if (!target.eventId) toast('⚡ ' + t('zapSentShort', { n: fmtAmount(sats) + ' ' + unitLabel() }));
render();
}