From e49f6d439d18163f88e82a8536f6e9f6a65a971b Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Tue, 8 Aug 2017 17:23:02 +0100 Subject: net_node: fix m_in_timedsync initialization This fixes nodes not being able to connect to nodes which use recent code. While there, init peer_id too. --- src/p2p/net_node.inl | 1 + 1 file changed, 1 insertion(+) (limited to 'src/p2p/net_node.inl') diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl index a977f17b7..58a7f3563 100644 --- a/src/p2p/net_node.inl +++ b/src/p2p/net_node.inl @@ -1678,6 +1678,7 @@ namespace nodetool //associate peer_id with this connection context.peer_id = arg.node_data.peer_id; + context.m_in_timedsync = false; if(arg.node_data.peer_id != m_config.m_peer_id && arg.node_data.my_port) { -- cgit v1.2.3