diff options
| author | Adam Soltys <[email protected]> | 2026-08-01 09:04:18 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-01 09:04:18 -0700 |
| commit | 38662483c170029b1a397f5a47cd49311012324f (patch) | |
| tree | a72ef4f52c0ce9c600160bfc56f8998c8bd1bb55 /src/api.js | |
| parent | d0fc8569c478111bfa5da90570ee3a0ac449a60d (diff) | |
| download | coinosv3-38662483c170029b1a397f5a47cd49311012324f.tar.gz coinosv3-38662483c170029b1a397f5a47cd49311012324f.zip | |
Repair Ark state that an earlier build stamped with the wrong server
The first namespacing attempt could brand one ASP's coins with whichever
server happened to be connected, filing them under the wrong namespace — a
phantom balance that survives both later fixes because the damage is already
written to localStorage.
loadArkState now checks the stamp against the vtxos themselves. A vtxo names
its cosigner in its own bytes, which is fact; the stamp is just something we
wrote. When they disagree the state is misfiled: it moves to a holding key
under its true owner and this namespace shows nothing. adoptArkState claims
from that holding area when the matching server connects.
Co-Authored-By: Claude Fable 5 <[email protected]>
Diffstat (limited to 'src/api.js')
0 files changed, 0 insertions, 0 deletions
