Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ermalkaleci committed Apr 2, 2024
1 parent 55c40b1 commit ae907bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/client/health.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ impl Health {
}
"eth_syncing" => {
// Ethereum node
if let Some(true) = response.as_bool() {
if response.as_bool().unwrap_or(true) {
health.update(Event::StaleChain);
continue;
}
Expand Down

0 comments on commit ae907bb

Please sign in to comment.