fix bug in debug command entries

This commit is contained in:
Christien Rioux 2024-10-19 19:18:16 -04:00
parent d88236b97f
commit 0af138a3aa

View File

@ -234,7 +234,7 @@ impl RoutingTable {
let node = *e.0; let node = *e.0;
let can_be_relay = e.1.with(inner, |_rti, e| relay_node_filter(e)); let can_be_relay = e.1.with(inner, |_rti, e| relay_node_filter(e));
let is_relay = self let is_relay = inner
.relay_node(RoutingDomain::PublicInternet) .relay_node(RoutingDomain::PublicInternet)
.map(|r| r.same_bucket_entry(e.1)) .map(|r| r.same_bucket_entry(e.1))
.unwrap_or(false); .unwrap_or(false);