aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-01-24 20:06:46 -0800
committerAlexander Blair <snipa@jagtech.io>2020-01-24 20:06:46 -0800
commitf20a96277475a1c0dfe055eb089b7eb73120101a (patch)
treea61cd0cb6d1dcdfa5c319c629f600200d81e875c
parentMerge pull request #6146 (diff)
parentp2p: don't request flags after closing connection (diff)
downloadmonero-f20a96277475a1c0dfe055eb089b7eb73120101a.tar.xz
Merge pull request #6153
24adee4a p2p: don't request flags after closing connection (moneromooo-monero)
-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 72edddf77..263cecfa2 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -1091,7 +1091,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)
{