add node_info_update calls

This commit is contained in:
John Smith
2022-05-11 12:20:33 -04:00
parent d7ba221b48
commit 444f65d76d
3 changed files with 99 additions and 0 deletions

View File

@@ -464,6 +464,10 @@ impl Network {
info!("network started");
self.inner.lock().network_started = true;
// Inform routing table entries that our dial info has changed
self.routing_table().send_node_info_updates();
Ok(())
}

View File

@@ -474,6 +474,9 @@ impl Network {
log_net!(debug "network class set to {:?}", network_class);
// send updates to everyone
self.routing_table().send_node_info_updates();
Ok(())
}
}