Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/release/3.1.x' into GH-790-hands…
Browse files Browse the repository at this point in the history
…hake-msgs
  • Loading branch information
heifner committed Aug 9, 2022
2 parents fda9c85 + 74fc8e6 commit df8665c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plugins/net_plugin/net_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1300,8 +1300,10 @@ namespace eosio {
});
} else {
c->strand.post( [c, num]() {
peer_ilog( c, "enqueue sync, unable to fetch block ${num}", ("num", num) );
c->send_handshake();
peer_ilog( c, "enqueue sync, unable to fetch block ${num}, sending benign_other go away", ("num", num) );
c->peer_requested.reset(); // unable to provide requested blocks
c->no_retry = benign_other;
c->enqueue( go_away_message( benign_other ) );
});
}
});
Expand Down

0 comments on commit df8665c

Please sign in to comment.