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
+1 -1
View File
@@ -38,7 +38,7 @@ impl Bucket {
// Get a node ref to return
let entry_ref = self.entries.get_mut(&node_id).unwrap();
NodeRef::new(self.routing_table.clone(), node_id, entry_ref)
NodeRef::new(self.routing_table.clone(), node_id, entry_ref, None)
}
pub(super) fn remove_entry(&mut self, node_id: &DHTKey) {