Skip to content

Commit bcf51c4

Browse files
committed
updating bdk and bdk-reserves to v0.18
1 parent 9b2453f commit bcf51c4

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## [Unreleased]
88

99
- Re-license to dual MIT and Apache 2.0 and update project name to "Bitcoin Dev Kit"
10-
- Update to bdk and bdk-reserves to `0.17.0`
10+
- Update to bdk and bdk-reserves to `0.18.0`
1111
- Add 'verify' feature flag which enables transaction verification against consensus rules during sync.
1212
- Make `regtest` the default network.
1313
- Add experimental `regtest-*` features to automatically deploy local regtest nodes

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ readme = "README.md"
1212
license = "MIT"
1313

1414
[dependencies]
15-
bdk = { version = "0.17", default-features = false, features = ["all-keys"]}
15+
bdk = { version = "0.18", default-features = false, features = ["all-keys"]}
1616
bdk-macros = "0.6"
1717
structopt = "^0.3"
1818
serde_json = { version = "^1.0" }
@@ -27,7 +27,7 @@ dirs-next = { version = "2.0", optional = true }
2727
env_logger = { version = "0.7", optional = true }
2828
clap = { version = "2.33", optional = true }
2929
regex = { version = "1", optional = true }
30-
bdk-reserves = { version = "0.17", optional = true}
30+
bdk-reserves = { version = "0.18", optional = true}
3131
electrsd = { version= "0.12", features = ["trigger", "bitcoind_22_0"], optional = true}
3232

3333
[features]

build.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ fn main() {
99

1010
let blockchain_features: Vec<String> = vec![electrum, esplora, compact_filters, rpc]
1111
.iter()
12-
.map(|f| f.to_owned())
13-
.flatten()
12+
.filter_map(|f| f.to_owned())
1413
.collect();
1514

1615
if blockchain_features.len() > 1 {

src/bdk_cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ fn handle_command(cli_opts: CliOpts, network: Network, _backend: Backend) -> Res
434434
.collect::<Result<Vec<_>, Error>>()?;
435435
let repl_subcommand = ReplSubCommand::from_iter_safe(split_line);
436436
if let Err(err) = repl_subcommand {
437-
println!("{}", err.to_string());
437+
println!("{}", err);
438438
continue;
439439
}
440440
// if error will be printed above

0 commit comments

Comments
 (0)