Skip to content

Commit

Permalink
GH-459 Revert syncing from lib+1
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Aug 2, 2024
1 parent c4b173f commit 7d9b53f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugins/net_plugin/net_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7d9b53f

Please sign in to comment.