From b44391b5ef1d5404af923e9747120fff381ba58c Mon Sep 17 00:00:00 2001 From: "hinto.janai" Date: Thu, 19 Sep 2024 17:32:15 -0400 Subject: [PATCH] fixes --- p2p/p2p/src/block_downloader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/p2p/src/block_downloader.rs b/p2p/p2p/src/block_downloader.rs index d5f1d69..39980a0 100644 --- a/p2p/p2p/src/block_downloader.rs +++ b/p2p/p2p/src/block_downloader.rs @@ -699,7 +699,7 @@ struct BlockDownloadTaskResponse { } /// Returns if a peer has all the blocks in a range, according to its [`PruningSeed`]. -fn client_has_block_in_range( +const fn client_has_block_in_range( pruning_seed: &PruningSeed, start_height: usize, length: usize,