diff options
| author | Adam Soltys <[email protected]> | 2026-06-28 18:10:56 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-28 18:10:56 -0700 |
| commit | 374f08e28a1bb42fb8911d34126043b69f286410 (patch) | |
| tree | 86c0b66bcb1fdec3fe7fdeba215601b8e72930fc /src/api.js | |
| parent | 6fd4469cd09226a3a8672251bc825a26945fcad5 (diff) | |
| download | coinosv3-374f08e28a1bb42fb8911d34126043b69f286410.tar.gz coinosv3-374f08e28a1bb42fb8911d34126043b69f286410.zip | |
Fix Add wallet reusing the current wallet's seed instead of a new one
The create pane shows the existing draftMnemonic's backup if one is set, only
falling back to the Generate-seed step when it's empty. Nothing cleared the draft
after a wallet was created, and Add wallet jumped to the create tab without
resetting it — so Add wallet presented the already-active wallet's seed, and
'creating' it just re-opened the same account (no new wallet).
Clear draftMnemonic (+ createStep, confirm) when Add wallet starts a fresh
creation, and clear it in openWallet once a seed has been used to create/enter a
wallet, so each new creation generates a fresh seed.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/api.js')
0 files changed, 0 insertions, 0 deletions
