Upgrade to bdk 0.6

This commit is contained in:
Thomas Eizinger 2021-04-19 10:14:14 +10:00
parent 822997c0c3
commit 39eea61538
No known key found for this signature in database
GPG key ID: 651AC83A6C6C8B96
3 changed files with 6 additions and 5 deletions

View file

@ -43,8 +43,8 @@ impl Wallet {
let db = bdk::sled::open(wallet_dir)?.open_tree(SLED_TREE_NAME)?;
let wallet = bdk::Wallet::new(
bdk::template::BIP84(key.clone(), KeychainKind::External),
Some(bdk::template::BIP84(key, KeychainKind::Internal)),
bdk::template::Bip84(key.clone(), KeychainKind::External),
Some(bdk::template::Bip84(key, KeychainKind::Internal)),
env_config.bitcoin_network,
db,
ElectrumBlockchain::from(client),