fix: use 'invoiced' status on NWC fallback instead of invalid 'pending'
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
e7d3cab85a
commit
004413457d
@@ -188,7 +188,7 @@ export function useWallet() {
|
|||||||
console.warn('[Wallet] NWC payment failed, falling back to polling:', err)
|
console.warn('[Wallet] NWC payment failed, falling back to polling:', err)
|
||||||
}
|
}
|
||||||
// NWC failed or returned no preimage — fall through to polling
|
// NWC failed or returned no preimage — fall through to polling
|
||||||
paymentStatus.value = 'pending'
|
paymentStatus.value = 'invoiced'
|
||||||
}
|
}
|
||||||
|
|
||||||
// No NWC — poll for confirmation (manual payment / QR code flow)
|
// No NWC — poll for confirmation (manual payment / QR code flow)
|
||||||
|
|||||||
Reference in New Issue
Block a user