From fb1f071faf57edb85d7bf637d533ee9ea029a3b7 Mon Sep 17 00:00:00 2001 From: Boog900 Date: Mon, 1 Jul 2024 19:23:59 +0000 Subject: [PATCH] P2P: fix block downloader test (#205) make sure timeout is non-zero --- p2p/p2p/src/block_downloader/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/p2p/src/block_downloader/tests.rs b/p2p/p2p/src/block_downloader/tests.rs index 07c30d5d..5d4225cd 100644 --- a/p2p/p2p/src/block_downloader/tests.rs +++ b/p2p/p2p/src/block_downloader/tests.rs @@ -95,7 +95,7 @@ prop_compose! { fn dummy_transaction_stragtegy(height: u64) ( extra in vec(any::(), 0..1_000), - timelock in 0_usize..50_000_000, + timelock in 1_usize..50_000_000, ) -> Transaction { Transaction {