Fix blockchain_tests::test_send_to_bech32m_addr

Now works with latest released versions of rust-bitcoincore-rpc and
bitcoind. Once these crates are updated to support creating descriptor
wallets and add importdescriptors and bech32m support this test will
need to be updated.
This commit is contained in:
Steve Myers
2021-11-11 13:44:34 -08:00
parent 632422a3ab
commit afa1ab4ff8
3 changed files with 69 additions and 24 deletions

View File

@@ -370,7 +370,7 @@ impl ConfigurableBlockchain for RpcBlockchain {
client.load_wallet(&wallet_name)?;
debug!("wallet loaded {:?}", wallet_name);
} else {
client.create_wallet(&wallet_name, Some(true), None, None, None, None)?;
client.create_wallet(&wallet_name, Some(true), None, None, None)?;
debug!("wallet created {:?}", wallet_name);
}
}
@@ -445,7 +445,7 @@ where
}
/// return the wallets available in default wallet directory
//TODO use core_rpc method when PR #179 lands
//TODO use bitcoincore_rpc method when PR #179 lands
fn list_wallet_dir(client: &Client) -> Result<Vec<String>, Error> {
#[derive(Deserialize)]
struct Name {