Skip to content

Commit

Permalink
fix NAT nat_open metrics report (#5427)
Browse files Browse the repository at this point in the history
* fix nat reporting
  • Loading branch information
jxs committed Mar 20, 2024
1 parent 7117772 commit f33ce8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/system_health/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f33ce8c

Please sign in to comment.