nightly fixes

This commit is contained in:
debris
2016-02-14 12:54:27 +01:00
parent e1cd5186c6
commit f1b39ee1e5
14 changed files with 35 additions and 42 deletions

View File

@@ -211,7 +211,7 @@ impl Discovery {
}
let mut ret:Vec<&NodeId> = Vec::new();
for (_, nodes) in found {
for nodes in found.values() {
for n in nodes {
if ret.len() < BUCKET_SIZE as usize /* && n->endpoint && n->endpoint.isAllowed() */ {
ret.push(n);