From f33ce8cc34c915aa453446aa0ecb060dc459a411 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Oliveira?= Date: Wed, 20 Mar 2024 06:45:18 +0000 Subject: [PATCH] fix NAT `nat_open` metrics report (#5427) * fix nat reporting --- common/system_health/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/system_health/src/lib.rs b/common/system_health/src/lib.rs index ec64ce31a..5dc59e6df 100644 --- a/common/system_health/src/lib.rs +++ b/common/system_health/src/lib.rs @@ -214,7 +214,7 @@ pub fn observe_nat() -> bool { .map(|g| g.get() == 1) .unwrap_or_default(); - discv5_nat && libp2p_nat + discv5_nat || libp2p_nat } /// Observes the Beacon Node system health.