mirror of
https://github.com/arnaucube/go-iden3-crypto.git
synced 2026-02-08 03:56:42 +01:00
Fix linters errors
This commit is contained in:
@@ -8,6 +8,9 @@ import (
|
||||
// the original blake from the SHA3 competition and not the new blake2 version.
|
||||
func Blake512(m []byte) []byte {
|
||||
h := blake512.New()
|
||||
h.Write(m[:])
|
||||
_, err := h.Write(m[:])
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
return h.Sum(nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user