Skip to content

Commit da88b0c

Browse files
committed
wip
1 parent 116e337 commit da88b0c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ readme = "README.md"
1515
rust-version = "1.63.0"
1616

1717
[dependencies]
18-
bitcoin = { git = "https://github.com/rust-bitcoin/rust-bitcoin.git", rev = "eb59238769471bef7ba79a418bc124f05660e571" }
18+
bitcoin = { git = "https://github.com/rust-bitcoin/rust-bitcoin.git", rev = "3203faecd72d301babcaa08bfeb10c151007fc71" }
1919
rand = {version = "0.8.5", default-features = false, optional = true}
2020

2121
[dev-dependencies]
22-
bitcoin = { git = "https://github.com/rust-bitcoin/rust-bitcoin.git", rev = "eb59238769471bef7ba79a418bc124f05660e571", features = ["arbitrary"] }
22+
bitcoin = { git = "https://github.com/rust-bitcoin/rust-bitcoin.git", rev = "3203faecd72d301babcaa08bfeb10c151007fc71", features = ["arbitrary"] }
2323
criterion = "0.3"
2424
bitcoin-coin-selection = {path = ".", features = ["rand"]}
2525
rand = "0.8.5"
@@ -32,4 +32,4 @@ name = "coin_selection"
3232
harness = false
3333

3434
[patch.crates-io]
35-
bitcoin-units = { git = "https://github.com/rust-bitcoin/rust-bitcoin.git", rev = "eb59238769471bef7ba79a418bc124f05660e571" }
35+
bitcoin-units = { git = "https://github.com/rust-bitcoin/rust-bitcoin.git", rev = "3203faecd72d301babcaa08bfeb10c151007fc71" }

src/branch_and_bound.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ mod tests {
406406
let weight = weight + Weight::from_wu(TX_IN_BASE_WEIGHT);
407407

408408
let mut result = None;
409-
if let Some(fee_rate) = amount.checked_div_by_weight_floor(weight) {
409+
if let Some(fee_rate) = amount.checked_div_by_weight(weight) {
410410
if fee_rate > FeeRate::ZERO {
411411
result = Some(fee_rate)
412412
}

0 commit comments

Comments
 (0)