From 4069f813820f1814bef5b93c679619bc7ed8ddba Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 18 Aug 2026 01:04:55 -0700 Subject: The board drive gets a second witness: the wallet's own chain view vouches for confirmations when the ark esplora is rate-limited or walled off, and chain errors finally surface instead of masquerading as unconfirmed Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01JtaatFfAbx91Nh3xqKVqKz --- src/features/ark.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/features') diff --git a/src/features/ark.js b/src/features/ark.js index cefb877..bff84a9 100644 --- a/src/features/ark.js +++ b/src/features/ark.js @@ -329,6 +329,13 @@ export function arkFeature(ctx) { arkUrl: cfg.ark, esploraUrl: cfg.esplora, network: getNetwork(), + // the wallet's own tx table as a second witness for confirmations — + // its data source is user-configurable and often healthier than the + // ark preset's esplora from this device + statusHint: (txid2) => { + const tx = (wallet.txs || []).find((t2) => t2.txid === txid2); + return tx && tx.confirmed ? { confirmed: true, block_height: tx.blockHeight || NaN } : null; + }, onUpdate: () => render(), }); ui.arkError = ''; -- cgit v1.2.3