Skip to content

Commit

Permalink
debug logging: print supernode id for "INVALID" broadcast
Browse files Browse the repository at this point in the history
  • Loading branch information
mbg033 committed Feb 19, 2020
1 parent 9a71fb4 commit bb0d062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/p2p/supernode_connection_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ bool SupernodeConnectionManager::processBroadcast(typename nodetool::COMMAND_BRO
}
// check if sender is a valid supernode
if (!m_stp.is_supernode_valid(arg.sender_address, m_stp.get_current_blockchain_height())) {
MWARNING("BROADCAST from invalid supernode");
MWARNING("BROADCAST from invalid supernode: " << arg.sender_address);
return false;
}

Expand Down

0 comments on commit bb0d062

Please sign in to comment.