Skip to content

Commit 956685a

Browse files
committed
[changeless] Revert number of candidates
changeless should not be that slow but if it fails to find a changeless solution then the test will exhaustive search so that clearly will take forever.
1 parent c6f0682 commit 956685a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/changeless.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ proptest! {
2929
#[test]
3030
#[cfg(not(debug_assertions))] // too slow if compiling for debug
3131
fn compare_against_benchmarks(
32-
n_candidates in 0..50_usize, // candidates (n)
32+
n_candidates in 0..15_usize, // candidates (n)
3333
target_value in 500..1_000_000_u64, // target value (sats)
3434
n_target_outputs in 1..150_usize, // the number of outputs we're funding
3535
target_weight in 0..10_000_u32, // the sum of the weight of the outputs (wu)

0 commit comments

Comments
 (0)