trie: remove redundant returns + use stacktrie where applicable (#22760)
* trie: add benchmark for proofless range * trie: remove unused returns + use stacktrie
This commit is contained in:
committed by
GitHub
parent
abb6cfae6a
commit
a81cf0d2b3
@ -368,7 +368,7 @@ func (dl *diskLayer) proveRange(stats *generatorStats, root common.Hash, prefix
|
||||
}
|
||||
// Verify the snapshot segment with range prover, ensure that all flat states
|
||||
// in this range correspond to merkle trie.
|
||||
_, _, _, cont, err := trie.VerifyRangeProof(root, origin, last, keys, vals, proof)
|
||||
_, cont, err := trie.VerifyRangeProof(root, origin, last, keys, vals, proof)
|
||||
return &proofResult{
|
||||
keys: keys,
|
||||
vals: vals,
|
||||
|
Reference in New Issue
Block a user