From 956685a72d25c433f791bd1da5a3581d8c8c2b07 Mon Sep 17 00:00:00 2001 From: LLFourn Date: Mon, 29 Jan 2024 17:26:29 +1100 Subject: [PATCH] [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. --- tests/changeless.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/changeless.rs b/tests/changeless.rs index 9026119..4b085ba 100644 --- a/tests/changeless.rs +++ b/tests/changeless.rs @@ -29,7 +29,7 @@ proptest! { #[test] #[cfg(not(debug_assertions))] // too slow if compiling for debug fn compare_against_benchmarks( - n_candidates in 0..50_usize, // candidates (n) + n_candidates in 0..15_usize, // candidates (n) target_value in 500..1_000_000_u64, // target value (sats) n_target_outputs in 1..150_usize, // the number of outputs we're funding target_weight in 0..10_000_u32, // the sum of the weight of the outputs (wu)