From 2ff004bd87f6aee72742f3e9249ec5b21321de0e Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 20 May 2019 18:35:42 -0400 Subject: [PATCH] Allow NODE_NETWORK_LIMITED for full node consideration --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index bdb8aa1..dd87140 100644 --- a/src/main.rs +++ b/src/main.rs @@ -101,7 +101,7 @@ pub fn scan_node(scan_time: Instant, node: SocketAddr) { state_lock.fail_reason = AddressState::LowVersion; return future::err(()); } - if ver.services & 1 != 1 { + if ver.services & (1 | (1 << 10)) == 0 { printer.add_line(format!("Updating {} to NotFullNode (services {:x})", node, ver.services), true); state_lock.fail_reason = AddressState::NotFullNode; return future::err(()); -- 2.39.5