Removing incorrect TCP assert as node id handshake messages can come under any socket type and this is the incorrect place to do such a check. (#3379)
This commit is contained in:
parent
e12ef0c918
commit
abc45bad9b
1 changed files with 0 additions and 1 deletions
|
@ -329,7 +329,6 @@ void nano::transport::tcp_channels::process_message (nano::message const & messa
|
|||
{
|
||||
// Initial node_id_handshake request without node ID
|
||||
debug_assert (message_a.header.type == nano::message_type::node_id_handshake);
|
||||
debug_assert (type_a == nano::socket::type_t::undefined);
|
||||
node.stats.inc (nano::stat::type::message, nano::stat::detail::node_id_handshake, nano::stat::dir::in);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue