From 0c0edc63c0ab966d7bb934850c80347dd1b8292b Mon Sep 17 00:00:00 2001 From: EthanYuan Date: Thu, 10 Oct 2024 11:15:47 +0800 Subject: [PATCH] add headers limit when reorg. --- src/cli/serve.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/serve.rs b/src/cli/serve.rs index c7df5b6..5beec91 100644 --- a/src/cli/serve.rs +++ b/src/cli/serve.rs @@ -196,7 +196,7 @@ impl Args { let (spv_client, spv_update) = storage.generate_spv_client_and_spv_update( spv_tip_height, - NonZeroU32::MAX, + self.spv_headers_update_limit, input.info.get_flags()?, )?;