This commit is contained in:
Christien Rioux
2023-09-28 12:52:49 -04:00
parent 437e21b0fe
commit b9505c031c
3 changed files with 9 additions and 2 deletions

View File

@@ -244,7 +244,9 @@ impl DiscoveryContext {
}
}
if external_address_infos.len() < 2 {
log_net!(debug "not enough peers responded with an external address");
log_net!(debug "not enough peers responded with an external address for type {:?}:{:?}",
protocol_type,
address_type);
return false;
}

View File

@@ -22,6 +22,7 @@ impl Network {
editor.clear_dial_info_details(None, None);
editor.set_network_class(Some(NetworkClass::OutboundOnly));
editor.clear_relay_node();
editor.commit(true).await;
}
}