Upgrade bitcoin wallet to use BIP84 derivation scheme

Explicitly specify the change descriptor because the behaviour when it
is not specified is unclear.
This commit is contained in:
rishflab 2021-03-02 17:10:29 +11:00
parent 17278d1278
commit a41b255dab
4 changed files with 12 additions and 11 deletions

View file

@ -607,8 +607,7 @@ async fn init_test_wallets(
bitcoin::Network::Regtest,
datadir,
seed.extended_private_key(bitcoin::Network::Regtest)
.expect("Could not create extended private key from seed")
.private_key,
.expect("Could not create extended private key from seed"),
)
.await
.expect("could not init btc wallet");