Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trie: combine validation loops in VerifyRangeProof #30823

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

weiihann
Copy link
Contributor

Small optimization. It's guaranteed that len(keys) == len(values), so we can combine the checks in a single loop rather than 2 separate loops.

@rjl493456442 rjl493456442 added this to the 1.14.13 milestone Nov 28, 2024
@rjl493456442 rjl493456442 merged commit 2406305 into ethereum:master Nov 28, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants