Skip to content

Commit

Permalink
Fix typo in head-of-chain logic (#1697)
Browse files Browse the repository at this point in the history
* Fix typo in head-of-chain logic

* PR link
  • Loading branch information
tomaka authored Mar 4, 2024
1 parent f788af4 commit c3f7549
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion light-base/src/runtime_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1799,7 +1799,7 @@ async fn run_background<TPlat: PlatformRef>(

// 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;
}
Expand Down
1 change: 1 addition & 0 deletions wasm-node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c3f7549

Please sign in to comment.