diff --git a/src/hooks/useQRCode.ts b/src/hooks/useQRCode.ts index 3300672..93b147d 100644 --- a/src/hooks/useQRCode.ts +++ b/src/hooks/useQRCode.ts @@ -93,7 +93,7 @@ export function useQRCode(): UseQRCodeReturn { } // Cashu token: cashu... - if (/^cashu[A-Za-z0-9+/=-]+$/.test(decodedText)) { + if (/^cashu[A-Za-z0-9+/=_-]+$/.test(decodedText)) { return { type: 'cashu_token', value: decodedText }; }