From 27c66f0276d0b423fe2f57f8b0be30dc49b9b0e6 Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Wed, 15 May 2024 16:22:30 -0500 Subject: [PATCH] GH-141 Do not report applied if in dispatcher --- plugins/net_plugin/net_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/net_plugin/net_plugin.cpp b/plugins/net_plugin/net_plugin.cpp index ceae2890ed..69e5490e4f 100644 --- a/plugins/net_plugin/net_plugin.cpp +++ b/plugins/net_plugin/net_plugin.cpp @@ -3118,7 +3118,7 @@ namespace eosio { if( my_impl->dispatcher.have_block( blk_id ) ) { peer_dlog( this, "canceling wait, already received block ${num}, id ${id}...", ("num", blk_num)("id", blk_id.str().substr(8,16)) ); - my_impl->sync_master->sync_recv_block( shared_from_this(), blk_id, blk_num, true, fc::microseconds::maximum() ); + my_impl->sync_master->sync_recv_block( shared_from_this(), blk_id, blk_num, false, fc::microseconds::maximum() ); cancel_wait(); pending_message_buffer.advance_read_ptr( message_length );