From ae907bb1a71400b6b401a3cfdd757103b2b45d01 Mon Sep 17 00:00:00 2001 From: Ermal Kaleci Date: Tue, 2 Apr 2024 22:02:03 +0200 Subject: [PATCH] fix --- src/extensions/client/health.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extensions/client/health.rs b/src/extensions/client/health.rs index 61aa592..2ca8265 100644 --- a/src/extensions/client/health.rs +++ b/src/extensions/client/health.rs @@ -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; }