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

Pad according to RATE rather than WIDTH #1299

Merged
merged 1 commit into from
Oct 21, 2023

Conversation

LindaGuiga
Copy link
Contributor

I noticed that when padding a hash, we pad to a multiple of WIDTH instead of RATE. I believe this is a mistake that this PR fixes. @dlubarov Would you mind letting me know whether I'm missing something?

Copy link
Contributor

@dlubarov dlubarov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@Nashtare Nashtare merged commit 05006de into 0xPolygonZero:main Oct 21, 2023
2 checks passed
@Nashtare Nashtare deleted the fix-hash-pad branch October 21, 2023 11:51
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