chore: formatting

This commit is contained in:
erhant 2026-07-10 13:32:07 +03:00
parent 7b670b3721
commit de67ef7b6e

View File

@ -324,8 +324,9 @@ impl<BP: BlockPublisherTrait> SequencerCore<BP> {
/// Feed one channel delta into the follow state: revert orphaned, apply
/// adopted, then finalize. Production builds on this same head.
///
/// TODO: persist adopted/finalized peer blocks to the store here so restart and RPC see the full canonical chain, not just our own blocks.
/// Open question: will peers communicate in another way?
/// TODO: persist adopted/finalized peer blocks to the store here so restart and RPC see the
/// full canonical chain, not just our own blocks. Open question: will peers communicate in
/// another way?
fn on_follow(chain: Arc<Mutex<ChainState>>) -> block_publisher::OnFollowSink {
Box::new(move |update: block_publisher::FollowUpdate| {
let chain = Arc::clone(&chain);