Skip to content

Commit

Permalink
Fix state mismatch in async_tree.rs (#1912)
Browse files Browse the repository at this point in the history
* Fix state mismatch in async_tree.rs

* PR link
  • Loading branch information
tomaka authored Jul 17, 2024
1 parent 8638a7f commit 3b75a57
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/src/chain/async_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,9 @@ where
},
);

self.input_best_block_index = Some(new_index);
if is_new_best {
self.input_best_block_index = Some(new_index);
}

new_index
}
Expand Down
4 changes: 4 additions & 0 deletions wasm-node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Fixed

- Fix potential panic in parachain syncing code. ([#1912](https://github.com/smol-dot/smoldot/pull/1912))

## 2.0.29 - 2024-06-17

### Fixed
Expand Down

0 comments on commit 3b75a57

Please sign in to comment.