-
Notifications
You must be signed in to change notification settings - Fork 0
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
Convert from 32 bytes #18
Conversation
poseidon2/io.nim
Outdated
let finalChunk = bytes[chunkStart..<bytes.len] & endMarker | ||
let finalElement = F.fromOpenArray(finalChunk) | ||
yield finalElement | ||
if (bytes.len - chunkStart > 0) or empty: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this was pulled from my padding PR which ended up being the wrong fix. Did something change, or was this pulled in by mistake?
1d28cac
to
3b403b0
Compare
@@ -1,5 +1,6 @@ | |||
import std/unittest | |||
import std/sequtils | |||
import std/options |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, is used :o
Can we get this merged? |
No description provided.