mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-09-19 20:34:38 -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
|
@ -15,7 +15,7 @@ async-trait = "0.1"
|
|||
atty = "0.2"
|
||||
backoff = { version = "0.3", features = ["tokio"] }
|
||||
base64 = "0.13"
|
||||
bdk = { git = "https://github.com/bitcoindevkit/bdk.git", rev = "e5ecc7f" }
|
||||
bdk = "0.6"
|
||||
big-bytes = "1"
|
||||
bitcoin = { version = "0.26", features = ["rand", "use-serde"] }
|
||||
bmrng = "0.5"
|
||||
|
|
|
@ -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