Browse Source

Bump bdk from 0.13.0 to 0.14.0

Bumps [bdk](https://github.com/bitcoindevkit/bdk) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/bitcoindevkit/bdk/releases)
- [Changelog](https://github.com/bitcoindevkit/bdk/blob/v0.14.0/CHANGELOG.md)
- [Commits](https://github.com/bitcoindevkit/bdk/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: bdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
feature/force-stop-button
dependabot[bot] 3 years ago
committed by Thomas Eizinger
parent
commit
071a9efd9b
No known key found for this signature in database GPG Key ID: 651AC83A6C6C8B96
  1. 6
      Cargo.lock
  2. 2
      daemon/Cargo.toml
  3. 4
      daemon/src/wallet.rs

6
Cargo.lock

@ -207,9 +207,9 @@ dependencies = [
[[package]]
name = "bdk"
version = "0.13.0"
version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9f687a9504efaa1650148b9e891b4c111adb31ceeb9011dec578941b00f18c9f"
checksum = "a6ec4da3dbaa41bb6d6cffe40b113ea8651566da7f96beebe9c0e87fc92b9094"
dependencies = [
"ahash",
"async-trait",
@ -1442,7 +1442,7 @@ dependencies = [
[[package]]
name = "maia"
version = "0.1.0"
source = "git+https://github.com/comit-network/maia#70fc548da0fe4f34478fb34ec437fa9a434c7ee3"
source = "git+https://github.com/comit-network/maia#4dd8adaf88f4c9ec244412319ac5e4ed67b509ec"
dependencies = [
"anyhow",
"bdk",

2
daemon/Cargo.toml

@ -7,7 +7,7 @@ edition = "2021"
anyhow = "1"
async-trait = "0.1.51"
atty = "0.2"
bdk = { version = "0.13", default-features = false, features = ["sqlite", "electrum"] }
bdk = { version = "0.14", default-features = false, features = ["sqlite", "electrum"] }
bytes = "1"
chrono = { version = "0.4", features = ["serde"] }
clap = "3.0.0-beta.5"

4
daemon/src/wallet.rs

@ -147,7 +147,7 @@ impl Actor {
let wallet = self.wallet.lock().await;
let txid = tx.txid();
let result = wallet.broadcast(tx.clone());
let result = wallet.broadcast(&tx);
if let Err(&bdk::Error::Electrum(electrum_client::Error::Protocol(ref value))) =
result.as_ref()
@ -215,7 +215,7 @@ impl Actor {
wallet.sign(&mut psbt, SignOptions::default())?;
let txid = wallet.broadcast(psbt.extract_tx())?;
let txid = wallet.broadcast(&psbt.extract_tx())?;
tracing::info!(%txid, "Withdraw successful");

Loading…
Cancel
Save