Node table tests

This commit is contained in:
arkpar
2016-02-15 14:39:56 +01:00
parent ba95260113
commit cf45d5914a
4 changed files with 88 additions and 13 deletions

View File

@@ -254,7 +254,7 @@ impl Discovery {
}
let mut ret:Vec<NodeEntry> = Vec::new();
for (_, nodes) in found {
for nodes in found.values() {
ret.extend(nodes.iter().map(|&n| n.clone()));
}
ret