Skip to content

Commit

Permalink
Match cores test and remove TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
yancyribbens committed Feb 11, 2025
1 parent 76c2dff commit d5b48de
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/coin_grinder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -422,10 +422,7 @@ mod tests {
#[test]
fn max_weight_with_result() {
let mut coins = Vec::new();
// TODO change this to match the core test by providing 60 utxos
// that are 0.33. Currently the missing optimizations cause this
// to take a very very long time.
for _i in 0..20 {
for _i in 0..60 {
coins.push("0.33 BTC/272");
}
for _i in 0..10 {
Expand All @@ -448,7 +445,7 @@ mod tests {
expected.push("0.33 BTC");
}

assert_coin_select_params(&params, 37, Some(&expected));
assert_coin_select_params(&params, 184, Some(&expected));
}

#[test]
Expand Down

0 comments on commit d5b48de

Please sign in to comment.