aboutsummaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-24 15:13:19 -0700
committerAdam Soltys <[email protected]>2026-06-24 15:13:19 -0700
commit31268770ce5d824eb598b51f0fa159d21239ce2b (patch)
tree34c63c2aca2dd961b7b052eb3d0289751ea16ffd /static
parentbdc5779b425151f47a4f5c93566a9f40f952428d (diff)
downloadcoinosv3-31268770ce5d824eb598b51f0fa159d21239ce2b.tar.gz
coinosv3-31268770ce5d824eb598b51f0fa159d21239ce2b.zip
Fix confirmed txs stuck showing "pending"
Two paths left a tx's confirmed flag stale once the balance had already reconciled: - The frontier poll re-fetched an address's txs but only appended new ones (`if (!txs.some(...))`), so a tx that moved from mempool to a block kept its old pending status. Now it refreshes the record in place. - On reload, scan() skipped the history re-pull when the cached balance already matched on-chain, so a stale-pending cached tx never updated. scan() now also re-pulls history whenever any tx is still pending. Verified: a cached pending tx that is confirmed on-chain flips to confirmed (and pending balance clears) after a scan. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'static')
0 files changed, 0 insertions, 0 deletions