Skip to content

Commit

Permalink
Merge pull request #1706 from AntelopeIO/GH-1705-drop-trx
Browse files Browse the repository at this point in the history
P2P: Advance read pointer when dropping trx
  • Loading branch information
heifner authored Oct 3, 2023
2 parents c078636 + 4478131 commit ba88d0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/net_plugin/net_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit ba88d0a

Please sign in to comment.