]> Untitled Git - bdk-cli/commit
fix(key): use password when restoring a key
authorIkeh Celestine Chukwudi <Chukwudi.ikeh.232330@unn.edu.ng>
Fri, 6 Nov 2026 15:33:47 +0000 (16:33 +0100)
committerIkeh Celestine Chukwudi <Chukwudi.ikeh.232330@unn.edu.ng>
Fri, 6 Nov 2026 15:33:47 +0000 (16:33 +0100)
commit55585554ae4f8b7a51dcff67571b6579b1804e13
tree1f552047a938380f8db52603f70ce587da517c1c
parent4e4f51ba9d24b61e58ea7bd1ba577a1c386d3449
fix(key): use password when restoring a key

RestoreKeyCommand passed only the mnemonic to into_extended_key,
dropping --password, so a key generated with a password could not be
restored. Pass the password as GenerateKeyCommand does, and add a test
that restores with and without it.

Fixes #372
CHANGELOG.md
src/handlers/key.rs
tests/integration/init.rs