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.
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ namespace nodetool
|
||||
template<class base_type>
|
||||
struct p2p_connection_context_t: base_type //t_payload_net_handler::connection_context //public net_utils::connection_context_base
|
||||
{
|
||||
p2p_connection_context_t(): support_flags(0), m_in_timedsync(false) {}
|
||||
p2p_connection_context_t(): peer_id(0), support_flags(0), m_in_timedsync(false) {}
|
||||
|
||||
peerid_type peer_id;
|
||||
uint32_t support_flags;
|
||||
|
||||
Reference in New Issue
Block a user