mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-27 08:08:15 -05:00
fix(root): do not re-calculate targets for sparse trie update (#14074)
This commit is contained in:
@@ -772,9 +772,6 @@ where
|
||||
"Updating sparse trie"
|
||||
);
|
||||
|
||||
// TODO: alexey to remind me why we are doing this
|
||||
update.targets = get_proof_targets(&update.state, &update.targets);
|
||||
|
||||
let elapsed = update_sparse_trie(&mut trie, update).map_err(|e| {
|
||||
ParallelStateRootError::Other(format!("could not calculate state root: {e:?}"))
|
||||
})?;
|
||||
|
||||
Reference in New Issue
Block a user