mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(trie): move trie updates to reth-trie-common (#12863)
This commit is contained in:
@ -193,11 +193,8 @@ where
|
||||
|
||||
let root = hash_builder.root();
|
||||
|
||||
trie_updates.finalize(
|
||||
account_node_iter.walker,
|
||||
hash_builder,
|
||||
prefix_sets.destroyed_accounts,
|
||||
);
|
||||
let removed_keys = account_node_iter.walker.take_removed_keys();
|
||||
trie_updates.finalize(hash_builder, removed_keys, prefix_sets.destroyed_accounts);
|
||||
|
||||
let stats = tracker.finish();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user