fix signal

This commit is contained in:
John Smith
2023-07-12 20:12:45 -04:00
parent 714eca1411
commit 0a16938f9b
5 changed files with 11 additions and 15 deletions

View File

@@ -112,8 +112,8 @@ impl RoutingTable {
let can_serve_as_relay = e
.node_info(RoutingDomain::PublicInternet)
.map(|n| {
if !(n.has_capability(CAP_RELAY) && n.is_signal_capable()) {
// Needs to be able to signal and relay
if !(n.has_capability(CAP_RELAY) && n.is_fully_direct_inbound()) {
// Needs to be able to accept packets to relay directly
return false;
}