mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #2267
e49f6d43
net_node: fix m_in_timedsync initialization (moneromooo-monero)
This commit is contained in:
commit
b3d595582a
@ -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;
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user