From 0f50794bec0f213288669b593e8481a0a48b36e6 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 5 Jul 2026 20:53:07 -0700 Subject: Reconcile ark vtxos when the gift form opens with an ark source Same trigger as pasting an ark address into Send: the gift form is a send-intent signal, so stale vtxos (spent server-side while this state was idle) drop before coin selection instead of erroring at cosign. Co-Authored-By: Claude Fable 5 --- src/features/ark.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/features') diff --git a/src/features/ark.js b/src/features/ark.js index 75e3da0..9a180f7 100644 --- a/src/features/ark.js +++ b/src/features/ark.js @@ -767,6 +767,7 @@ export function arkFeature(ctx) { // ---- ark-gift hooks (called by the gifts feature via ctx.hook) ---- arkGiftInfo() { if (!arkAvailable() || !ark || !ark.state) return null; + maybeReconcile(); // the gift form is a send-intent signal too (throttled) return { spendableSat: ark.balance().spendableSat }; }, arkGiftDecode(code) { return decodeArkGiftCode(code); }, -- cgit v1.2.3