aboutsummaryrefslogtreecommitdiffstats
path: root/src/electrum.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-27 10:52:50 -0700
committerAdam Soltys <[email protected]>2026-06-27 10:52:50 -0700
commit45d7d233c26edc07d7ad0e68c310d02f0626fbe9 (patch)
tree81cc0cccb94604ab4850fe5e58f8ee90779cd0c0 /src/electrum.js
parent5082edae2a89c202016dc8337ba432aa3409d1ba (diff)
downloadcoinosv3-45d7d233c26edc07d7ad0e68c310d02f0626fbe9.tar.gz
coinosv3-45d7d233c26edc07d7ad0e68c310d02f0626fbe9.zip
Fix electrum reconcile stall: keep _rpcId numeric (id:null broke matching)
_rpcId could go non-numeric, so ++ produced NaN and requests serialized with "id":null. _handleRpc matches responses with `msg.id != null`, so every data-call response was dropped → the call timed out → _reconcileHeld skipped the address → confirmations never reflected (until an unrelated full refresh). Coerce to a number on every send. Verified via CDP: a mined deposit now flips pending→confirmed in ~1s instead of stalling. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Diffstat (limited to 'src/electrum.js')
0 files changed, 0 insertions, 0 deletions