Skip to content

Commit b9be1f4

Browse files
committed
deps(example_cli): bump bdk_coin_select to 0.4
1 parent 3e640ff commit b9be1f4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

example-crates/example_cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77

88
[dependencies]
99
bdk_chain = { path = "../../crates/chain", features = ["serde", "miniscript"]}
10-
bdk_coin_select = "0.3.0"
10+
bdk_coin_select = "0.4"
1111
bdk_file_store = { path = "../../crates/file_store" }
1212
bitcoin = { version = "0.32.0", features = ["base64"], default-features = false }
1313

example-crates/example_cli/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ where
292292
.map(|(plan, utxo)| {
293293
Candidate::new(
294294
utxo.txout.value.to_sat(),
295-
plan.satisfaction_weight() as u32,
295+
plan.satisfaction_weight() as u64,
296296
plan.witness_version().is_some(),
297297
)
298298
})
@@ -334,7 +334,7 @@ where
334334
outputs: TargetOutputs::fund_outputs(
335335
outputs
336336
.iter()
337-
.map(|output| (output.weight().to_wu() as u32, output.value.to_sat())),
337+
.map(|output| (output.weight().to_wu(), output.value.to_sat())),
338338
),
339339
fee: TargetFee {
340340
rate: FeeRate::from_sat_per_vb(feerate),

0 commit comments

Comments
 (0)