This commit is contained in:
Yong Kang
2025-11-24 09:09:19 +00:00
parent fa79d0786e
commit 37678fa939

View File

@@ -1007,8 +1007,8 @@ where
/// Aggregates multiple in-memory blocks into a single [`TrieInputSorted`] by combining their
/// state changes.
///
/// This is done by starting with the newest block's trie data as the base and iterating backwards
/// through older blocks, extending the base with their state and trie updates.
/// This is done by starting with the newest block's trie data as the base and iterating
/// backwards through older blocks, extending the base with their state and trie updates.
fn merge_overlay_trie_input(blocks: &[ExecutedBlock<N>]) -> TrieInputSorted {
let mut input = TrieInputSorted::default();
let mut blocks_iter = blocks.iter().rev().peekable();