mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-05 08:23:35 +00:00
silent return bug on lnaddress payments
This commit is contained in:
1 parent
ea57135d1e
commit
6162217ce9
1 file changed
+2
-1
@@ -224,7 +224,7 @@ export function useWalletTransactions({
|
||||
const handleSend = useCallback(async () => {
|
||||
if (!coco) return;
|
||||
|
||||
if (!sendAmount && !lightningInvoice && !lightningAddressInput) {
|
||||
if (!sendAmount && !lightningInvoice && !lightningAddressInput && !pendingLightningAddress) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -291,6 +291,7 @@ export function useWalletTransactions({
|
||||
setLightningAddressInput('');
|
||||
setLightningAddressAmount('');
|
||||
} catch (err) {
|
||||
console.error('Payment error:', err);
|
||||
toast({
|
||||
variant: 'destructive',
|
||||
title: 'Payment Failed',
|
||||
|
||||
Reference in new issue
Block a user