From c0337a0c6fb8db0d730badf419781cc0d16355c7 Mon Sep 17 00:00:00 2001 From: Byron Hambly Date: Fri, 28 Oct 2022 14:52:53 +0200 Subject: [PATCH] test: fix issue with rand in proptest --- swap/src/bitcoin/wallet.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swap/src/bitcoin/wallet.rs b/swap/src/bitcoin/wallet.rs index fc615911..1b8f91e6 100644 --- a/swap/src/bitcoin/wallet.rs +++ b/swap/src/bitcoin/wallet.rs @@ -1076,7 +1076,7 @@ mod tests { proptest! { #[test] fn given_fee_above_max_should_always_errors( - sat_per_vb in 100_000_000.0f32.., + sat_per_vb in 100_000_000.0f32..f32::MAX, ) { let weight = 400; let amount = bitcoin::Amount::from_sat(547u64);