reimplement node_ref filtering

This commit is contained in:
John Smith
2022-04-19 11:23:44 -04:00
parent 1d30073360
commit 0440391189
5 changed files with 121 additions and 64 deletions

View File

@@ -34,7 +34,14 @@ impl RoutingTable {
},
)),
// transform
|e| NodeRef::new(self.clone(), *e.0, e.1.as_mut().unwrap()),
|e| {
NodeRef::new(
self.clone(),
*e.0,
e.1.as_mut().unwrap(),
Some(dial_info_filter.clone()),
)
},
)
}