Experimented with network order

This commit is contained in:
t
2025-01-10 02:15:24 +01:00
parent 3c3e8127c9
commit c6c2d3c299
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -403,7 +403,7 @@ neighbor check_neighborhood(uint16_t hash) {
if ((pre_id == id && suc_id == id) || (id < pre_id && ((hash > pre_id && hash < 65535)) || hash <= id) || (hash > pre_id && hash <= id))
return res;
if ((id < suc_id && hash > id && hash <= suc_id) || (id > suc_id && (hash > id || hash <= suc_id)))
if ((id < suc_id && hash > id && hash <= suc_id) || (hash > id || hash <= suc_id))
return not_res;
return dunno;