aboutsummaryrefslogtreecommitdiff
path: root/src/p2p
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-11-19 01:54:49 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-11-19 02:03:39 +0000
commit24adee4a0886d66e6df31594c67f7204367a8e3f (patch)
treed45d0ed31c8176c81fe6279497fec5afac654341 /src/p2p
parentMerge pull request #6097 (diff)
downloadmonero-24adee4a0886d66e6df31594c67f7204367a8e3f.tar.xz
p2p: don't request flags after closing connection
Diffstat (limited to 'src/p2p')
-rw-r--r--src/p2p/net_node.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index f8094bfa8..a1be1e323 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -1089,7 +1089,7 @@ namespace nodetool
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);
}
- else
+ else if (!just_take_peerlist)
{
try_get_support_flags(context_, [](p2p_connection_context& flags_context, const uint32_t& support_flags)
{