some debugging
This commit is contained in:
parent
b9505c031c
commit
bbfd21edee
@ -1,5 +1,6 @@
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
|
#[derive(Debug)]
|
||||||
enum RoutingDomainChange {
|
enum RoutingDomainChange {
|
||||||
ClearDialInfoDetails {
|
ClearDialInfoDetails {
|
||||||
address_type: Option<AddressType>,
|
address_type: Option<AddressType>,
|
||||||
@ -135,6 +136,9 @@ impl RoutingDomainEditor {
|
|||||||
None
|
None
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Debug print
|
||||||
|
log_rtab!(debug "[{:?}] COMMIT: {:?}", self.routing_domain, self.changes);
|
||||||
|
|
||||||
// Apply changes
|
// Apply changes
|
||||||
let mut changed = false;
|
let mut changed = false;
|
||||||
{
|
{
|
||||||
@ -247,10 +251,6 @@ impl RoutingDomainEditor {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if changed {
|
|
||||||
// Clear our 'peer info' cache, the peerinfo for this routing domain will get regenerated next time it is asked for
|
|
||||||
detail.common_mut().clear_cache()
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
if changed {
|
if changed {
|
||||||
// Allow signed node info updates at same timestamp for otherwise dead nodes if our network has changed
|
// Allow signed node info updates at same timestamp for otherwise dead nodes if our network has changed
|
||||||
|
Loading…
Reference in New Issue
Block a user