test: fix issue with rand in proptest

This commit is contained in:
Byron Hambly 2022-10-28 14:52:53 +02:00
parent 25c812e9fd
commit c0337a0c6f
No known key found for this signature in database
GPG key ID: DE8F6EA20A661697

View file

@ -1076,7 +1076,7 @@ mod tests {
proptest! { proptest! {
#[test] #[test]
fn given_fee_above_max_should_always_errors( 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 weight = 400;
let amount = bitcoin::Amount::from_sat(547u64); let amount = bitcoin::Amount::from_sat(547u64);