DHT fix where the node_id would get set after it was started and be inconsitent with rpc_manager and routing_table
This commit is contained in:
@@ -2206,7 +2206,7 @@ namespace aux {
|
||||
, m_dht_settings.service_port
|
||||
, m_dht_settings.service_port);
|
||||
}
|
||||
m_dht = new dht::dht_tracker(*this, m_dht_socket, m_dht_settings);
|
||||
m_dht = new dht::dht_tracker(*this, m_dht_socket, m_dht_settings, &startup_state);
|
||||
if (!m_dht_socket.is_open() || m_dht_socket.local_port() != m_dht_settings.service_port)
|
||||
{
|
||||
m_dht_socket.bind(m_dht_settings.service_port);
|
||||
|
Reference in New Issue
Block a user