mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-09 06:52:53 -04:00
Upgrade to bdk 0.6
This commit is contained in:
parent
822997c0c3
commit
39eea61538
3 changed files with 6 additions and 5 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue