Fix linters errors

This commit is contained in:
Eduard S
2020-04-14 16:47:24 +02:00
parent 14d09916cf
commit 0ac8b46493
6 changed files with 21 additions and 35 deletions

View File

@@ -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)
}