From 39a144cf50d621908b79cc27c7c664f6f9fc369c Mon Sep 17 00:00:00 2001 From: protom Date: Mon, 31 Aug 2026 12:23:10 +0200 Subject: [PATCH] feat(receive): accept named mints that serve no verify URL Named mints claim through the wallet's own secret, so a missing LUD-21 verify URL no longer blocks receiving; unnamed mints still require it - there the preimage it reveals IS the claim. --- src/composables/useReceiveLightningDialog.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/composables/useReceiveLightningDialog.ts b/src/composables/useReceiveLightningDialog.ts index a44bdc5..619efce 100644 --- a/src/composables/useReceiveLightningDialog.ts +++ b/src/composables/useReceiveLightningDialog.ts @@ -159,7 +159,10 @@ export const useReceiveLightningDialog = ( try { const input = mintChoice.value === CUSTOM_MINT ? customMint.value.trim() : mintChoice.value; const next = await prepareMint(input, satsToMsat(sats)); - if (!next.verifyUrl) { + // named mints claim through the wallet's own secret and may + // legitimately serve no verify URL; unnamed mints need one (the + // preimage it reveals IS the claim) + if (next.mode === 'unnamed' && !next.verifyUrl) { formError.value = 'This mint does not support automatic claiming, so sattle cannot receive from it. Choose a different mint.'; return;