From 447813121e1407dbdaf697019e8ffa3606ceb287 Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Tue, 3 Oct 2023 08:22:47 -0500 Subject: [PATCH] GH-1705 Advance read pointer when dropping trx. Also log at debug as nothing wrong. --- plugins/net_plugin/net_plugin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/net_plugin/net_plugin.cpp b/plugins/net_plugin/net_plugin.cpp index 13166ce0bf..807660bd6f 100644 --- a/plugins/net_plugin/net_plugin.cpp +++ b/plugins/net_plugin/net_plugin.cpp @@ -3025,7 +3025,8 @@ namespace eosio { return true; } if (my_impl->sync_master->syncing_from_peer()) { - peer_wlog(this, "syncing, dropping trx"); + peer_dlog(this, "syncing, dropping trx"); + pending_message_buffer.advance_read_ptr( message_length ); return true; }