-
Notifications
You must be signed in to change notification settings - Fork 69
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
chore: code reduction on doHash #377
Conversation
return nil, err | ||
} | ||
return blakeHash.Sum(nil), nil | ||
// TODO: there doesn't seem to be an "official" implementation of BLAKE3 in Go, |
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.
took the liberty of removing this comment. If desired, someone can open an issue
@@ -190,41 +190,17 @@ func doHash(hashOp HashOp, preimage []byte) ([]byte, error) { | |||
return hashBz(crypto.RIPEMD160, preimage) | |||
case HashOp_BITCOIN: |
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.
wasn't mentioned in the audit, but I added code reduction here as well
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.
LGTM! Thank you @colin-axner
Might need to push an empty commit to this to trigger CI required check! |
No description provided.