Skip to content

Commit

Permalink
Disable EOSIO#6735 (net_plugin more quickly determine known block)
Browse files Browse the repository at this point in the history
hard to handle the logic
  • Loading branch information
baegjae committed Mar 26, 2019
1 parent cfbce5f commit 8ec497d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/net_plugin/net_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2149,6 +2149,7 @@ namespace eosio {

bool net_plugin_impl::process_next_message(const connection_ptr& conn, uint32_t message_length) {
try {
/* Disable #6735 (net_plugin more quickly determine known block) - hard to handle
// if next message is a block we already have, exit early
auto peek_ds = conn->pending_message_buffer.create_peek_datastream();
unsigned_int which{};
Expand All @@ -2167,6 +2168,7 @@ namespace eosio {
return true;
}
}
*/

auto ds = conn->pending_message_buffer.create_datastream();
net_message msg;
Expand Down

0 comments on commit 8ec497d

Please sign in to comment.