Poseidon & MiMC7 HashBytes remove return of err

This commit is contained in:
arnaucube
2020-05-22 00:42:14 +02:00
parent b1468fc076
commit 3a9171000b
4 changed files with 14 additions and 8 deletions

View File

@@ -73,8 +73,7 @@ func TestPoseidon(t *testing.T) {
assert.Nil(t, err)
assert.Equal(t, "2978613163687734485261639854325792381691890647104372645321246092227111432722", hmsg2.String())
hmsg2, err = HashBytes(msg2)
assert.Nil(t, err)
hmsg2 = HashBytes(msg2)
assert.Equal(t, "2978613163687734485261639854325792381691890647104372645321246092227111432722", hmsg2.String())
}