From c9963934aa6bc384cd9742e099b2c72b1f69e400 Mon Sep 17 00:00:00 2001 From: protom Date: Mon, 31 Aug 2026 12:22:56 +0200 Subject: [PATCH] feat(funds): keep the claimable note of a pending named transfer An unknown-still-pending transfer to a named mint carries the note at the wallet's own secret in its claim material - persist it unverified like the settled-claim-failed path already does, instead of dropping it with the result object. --- src/composables/useMoveFundsPage.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/composables/useMoveFundsPage.ts b/src/composables/useMoveFundsPage.ts index c8f0e47..91365de 100644 --- a/src/composables/useMoveFundsPage.ts +++ b/src/composables/useMoveFundsPage.ts @@ -170,6 +170,12 @@ export const useMoveFundsPage = () => { ); } else if (transfer.outcome === 'unknown-still-pending') { await wallet.markSpent(carved.id, ownerFence); + // a named target's claim material carries the note at the wallet's + // own secret - claimable the moment the melt settles, so it is + // tracked unverified rather than lost with the result object + if (transfer.claimMaterial?.note) { + await addCommittedBearers(wallet, [transfer.claimMaterial.note], commitContext); + } await activity.log( 'transfer', `A move of ${sats.toLocaleString()} sats to ${transfer.targetServer} is still in flight - the note is locked.`,