From 2fab062269a55a84476b70692b7beb169319a9ee Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Tue, 6 Jun 2023 23:01:20 -0500 Subject: [PATCH] GH-1072 Revert check for in sync as we need to always attempt a start sync on a lib notice. --- plugins/net_plugin/net_plugin.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/net_plugin/net_plugin.cpp b/plugins/net_plugin/net_plugin.cpp index bf033706f7..d94c2fdf16 100644 --- a/plugins/net_plugin/net_plugin.cpp +++ b/plugins/net_plugin/net_plugin.cpp @@ -2227,9 +2227,7 @@ namespace eosio { c->last_handshake_recv.last_irreversible_block_num = msg.known_trx.pending; } sync_reset_lib_num(c, false); - if (is_in_sync()) { - start_sync(c, msg.known_trx.pending); - } + start_sync(c, msg.known_trx.pending); } }