fix NAT nat_open metrics report (#5427)

* fix nat reporting
This commit is contained in:
João Oliveira 2024-03-20 06:45:18 +00:00 committed by GitHub
parent 7117772fb3
commit f33ce8cc34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.