diff options
Diffstat (limited to 'src/features/ark.js')
| -rw-r--r-- | src/features/ark.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/features/ark.js b/src/features/ark.js index 9621c4b..1c0ad1b 100644 --- a/src/features/ark.js +++ b/src/features/ark.js @@ -554,6 +554,11 @@ export function arkFeature(ctx) { throw new Error(`amount ${dec.amountSat} exceeds the limit of ${maxAmountSat} sat`); } const mgr = await connectArk(); + // The sync merge is additive, so a vtxo spent on another device can sit + // in local state looking spendable until someone checks. The interactive + // send path reconciles on intent; this headless path must too, or an NWC + // payment picks the stale coin and the ASP rejects it ("state: spent"). + await mgr.reconcile().catch(() => {}); // 1. the bridge, when one is configured and can take it try { |
