From 7d9b53fe1d2e11cd53559cdafd7149e0b456ce2d Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Fri, 2 Aug 2024 17:57:52 -0500 Subject: [PATCH] GH-459 Revert syncing from lib+1 --- plugins/net_plugin/net_plugin.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/net_plugin/net_plugin.cpp b/plugins/net_plugin/net_plugin.cpp index 27aae05cba..038445215b 100644 --- a/plugins/net_plugin/net_plugin.cpp +++ b/plugins/net_plugin/net_plugin.cpp @@ -2137,8 +2137,6 @@ namespace eosio { bool request_sent = false; if( sync_last_requested_num != sync_known_lib_num ) { uint32_t start = sync_next_expected_num; - if (sync_req_span > 1) - start = std::min(start, chain_info.lib_num+1); uint32_t end = start + sync_req_span - 1; if( end > sync_known_lib_num ) end = sync_known_lib_num;