mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix(trie): sparse trie tree masks (#13760)
This commit is contained in:
@ -748,7 +748,7 @@ where
|
||||
config.prefix_sets,
|
||||
thread_pool,
|
||||
)
|
||||
.with_branch_node_hash_masks(true)
|
||||
.with_branch_node_masks(true)
|
||||
.multiproof(proof_targets)?)
|
||||
}
|
||||
|
||||
|
||||
@ -198,7 +198,7 @@ fn branch_nodes_equal(
|
||||
) -> bool {
|
||||
if let (Some(task), Some(regular)) = (task.as_ref(), regular.as_ref()) {
|
||||
task.state_mask == regular.state_mask &&
|
||||
// We do not compare the tree mask because it is known to be mismatching
|
||||
task.tree_mask == regular.tree_mask &&
|
||||
task.hash_mask == regular.hash_mask &&
|
||||
task.hashes == regular.hashes &&
|
||||
task.root_hash == regular.root_hash
|
||||
|
||||
Reference in New Issue
Block a user