P2P: fix block downloader test (#205)

make sure timeout is non-zero
This commit is contained in:
Boog900 2024-07-01 19:23:59 +00:00 committed by GitHub
parent f91be58a7f
commit fb1f071faf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -95,7 +95,7 @@ prop_compose! {
fn dummy_transaction_stragtegy(height: u64)
(
extra in vec(any::<u8>(), 0..1_000),
timelock in 0_usize..50_000_000,
timelock in 1_usize..50_000_000,
)
-> Transaction {
Transaction {