From 3f03ede800c92fd113cb0db8650595dbbf9b2db0 Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Fri, 20 Sep 2019 15:02:22 -0400 Subject: [PATCH] Remove unneeded request_message --- plugins/net_plugin/net_plugin.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/plugins/net_plugin/net_plugin.cpp b/plugins/net_plugin/net_plugin.cpp index 48cead04431..93ce9f4ae0d 100644 --- a/plugins/net_plugin/net_plugin.cpp +++ b/plugins/net_plugin/net_plugin.cpp @@ -1483,12 +1483,7 @@ namespace eosio { if (head < msg.head_num ) { fc_dlog(logger, "sync check state 3"); - if (!verify_catchup(c, msg.head_num, msg.head_id)) { - request_message req; - req.req_blocks.mode = catch_up; - req.req_trx.mode = none; - c->enqueue( req ); - } + verify_catchup(c, msg.head_num, msg.head_id); return; } else {