diff options
| author | Bitflash <btf01@proton.me> | 2026-08-01 21:48:03 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-01 21:48:03 -0300 |
| commit | d54a07170808b921c79e25c2a0a8f6b9c447d4ea (patch) | |
| tree | be83d3b40c1e466b1ecab1e3f5375b6a9b23c755 /src/walletcmd.cpp | |
| parent | 5a5478669c487963e99491112abc065c59973966 (diff) | |
wallet: reserve index 0 before deriving it, and name the address the phrase does not cover (#104)
Follow-up to #102. Reserves derivation index 0 before deriving it, so a failure between installing the seed and writing the default key cannot leave the pool free to hand that index out as an ordinary key. Renames the address that stops being the default to 'Your Address (created before the recovery phrase)', which was otherwise left under the same name as the new one. Also documents why the key-pool clear precedes the seed write, correcting a review comment of mine that asked for the reverse.
Diffstat (limited to 'src/walletcmd.cpp')
0 files changed, 0 insertions, 0 deletions