From 2b3f2660f09cb7ab3284b5b323df8fdcd23af52b Mon Sep 17 00:00:00 2001 From: Brian Johnson Date: Fri, 15 Feb 2019 14:31:03 -0600 Subject: [PATCH] Ensure that a caught-up nodeos reports its new handshake status to other connected nodeos. GH #6755 --- plugins/net_plugin/net_plugin.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/net_plugin/net_plugin.cpp b/plugins/net_plugin/net_plugin.cpp index 27ae104b3fc..184f2f1cc45 100644 --- a/plugins/net_plugin/net_plugin.cpp +++ b/plugins/net_plugin/net_plugin.cpp @@ -1584,6 +1584,10 @@ namespace eosio { set_state(head_catchup); } } + + if (state == in_sync) { + send_handshakes(); + } } else if (state == lib_catchup) { if( blk_num == sync_known_lib_num ) {