mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #6153
24adee4a
p2p: don't request flags after closing connection (moneromooo-monero)
This commit is contained in:
commit
f20a962774
@ -1091,7 +1091,7 @@ namespace nodetool
|
|||||||
LOG_WARNING_CC(context_, "COMMAND_HANDSHAKE Failed");
|
LOG_WARNING_CC(context_, "COMMAND_HANDSHAKE Failed");
|
||||||
m_network_zones.at(context_.m_remote_address.get_zone()).m_net_server.get_config_object().close(context_.m_connection_id);
|
m_network_zones.at(context_.m_remote_address.get_zone()).m_net_server.get_config_object().close(context_.m_connection_id);
|
||||||
}
|
}
|
||||||
else
|
else if (!just_take_peerlist)
|
||||||
{
|
{
|
||||||
try_get_support_flags(context_, [](p2p_connection_context& flags_context, const uint32_t& support_flags)
|
try_get_support_flags(context_, [](p2p_connection_context& flags_context, const uint32_t& support_flags)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user