checkpoint

This commit is contained in:
John Smith
2023-05-04 21:26:14 -04:00
parent 514bc34e11
commit 61415597db
3 changed files with 74 additions and 21 deletions

View File

@@ -1209,9 +1209,6 @@ impl RoutingTableInner {
};
// distance is the next metric, closer nodes first
// since multiple cryptosystems are in use, the distance for a key is the shortest
// distance to that key over all supported cryptosystems
let da = vcrypto.distance(&a_key.value, &node_id.value);
let db = vcrypto.distance(&b_key.value, &node_id.value);
da.cmp(&db)