diff --git a/light-base/src/runtime_service.rs b/light-base/src/runtime_service.rs index ab12c5a565..d0a719b849 100644 --- a/light-base/src/runtime_service.rs +++ b/light-base/src/runtime_service.rs @@ -1799,7 +1799,7 @@ async fn run_background( // If we aren't subscribed to the sync service yet, we notify that we are not // near the head of the chain. - if !background.blocks_stream.is_none() { + if background.blocks_stream.is_none() { let _ = result_tx.send(false); continue; } diff --git a/wasm-node/CHANGELOG.md b/wasm-node/CHANGELOG.md index b7d8125596..dcb2fa342b 100644 --- a/wasm-node/CHANGELOG.md +++ b/wasm-node/CHANGELOG.md @@ -5,6 +5,7 @@ ### Fixed - Fix crash when extracting the database of a chain when the current Babe epoch number doesn't immediately follow the previous Babe epoch number. ([#1695](https://github.com/smol-dot/smoldot/pull/1695)) +- Fix `isSyncing` is always being equal to `true` in the return value of the `system_health` JSON-RPC function. ([#1697](https://github.com/smol-dot/smoldot/pull/1697)) ## 2.0.21 - 2024-02-06