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

fix: GetTrieKey and GetTrieEntry leafindex calc #20

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

robinbryce
Copy link
Contributor

Use the new (safe) mmr.LeafIndex method.

Also add comments in places where we use LeafCount directly indicating why it is safe to do so

AB#9551

Use the new (safe) mmr.LeafIndex method.

Also add comments in places where we use LeafCount directly indicating
why it is safe to do so

AB#9551
@robinbryce robinbryce merged commit 33b2c93 into main Jun 5, 2024
1 check passed
@robinbryce robinbryce deleted the dev/robin/9551-leafcount-as-index-footgun-2 branch June 5, 2024 09:16
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.

2 participants