Remove rep cleanup from UDP inactive channels
This commit is contained in:
parent
b9685ed8e4
commit
fe0c7baa18
1 changed files with 0 additions and 8 deletions
|
|
@ -319,14 +319,6 @@ void nano::rep_crawler::cleanup_reps ()
|
|||
equal = true;
|
||||
}
|
||||
}
|
||||
else if (i->get_type () == nano::transport::transport_type::udp)
|
||||
{
|
||||
auto find_channel (node.network.udp_channels.channel (i->get_endpoint ()));
|
||||
if (find_channel != nullptr && *find_channel == *static_cast<nano::transport::channel_udp *> (i.get ()))
|
||||
{
|
||||
equal = true;
|
||||
}
|
||||
}
|
||||
else if (i->get_type () == nano::transport::transport_type::fake)
|
||||
{
|
||||
equal = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue