Always pass along lnurl comment

This commit is contained in:
benthecarman
2024-03-22 16:08:05 -05:00
committed by Tony Giorgio
parent 025f0d5f60
commit cdc7c880fa

View File

@@ -509,13 +509,12 @@ export function Send() {
visibility() !== "Not Available" && contact()?.npub
? contact()?.npub
: undefined;
const comment = zapNpub ? whatForInput() : undefined;
const payment = await state.mutiny_wallet?.lnurl_pay(
lnurlp()!,
amountSats(),
zapNpub, // zap_npub
tags,
comment, // comment
whatForInput(), // comment
visibility()
);
sentDetails.payment_hash = payment?.payment_hash;