Skip to content

Commit 107647b

Browse files
committed
GH-1245 Add debug log statement when connection first becoming bp gossip connection
1 parent 4fe408f commit 107647b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

plugins/net_plugin/net_plugin.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3765,7 +3765,10 @@ namespace eosio {
37653765
return; // no current top producers in msg
37663766

37673767
// valid gossip peer connection
3768-
bp_connection = bp_connection_type::bp_gossip;
3768+
if (bp_connection != bp_connection_type::bp_gossip) {
3769+
peer_dlog(this, "bp gossip connection");
3770+
bp_connection = bp_connection_type::bp_gossip;
3771+
}
37693772

37703773
if (first_msg) {
37713774
// initial message case, send back our entire collection

0 commit comments

Comments
 (0)