update the input params of hash

This commit is contained in:
Cool Developer
2022-03-15 07:33:14 -04:00
parent 1a046cf574
commit 47b41d8ffc
3 changed files with 14 additions and 9 deletions

View File

@@ -47,7 +47,10 @@ func TestPoseidonHash(t *testing.T) {
}, h,
)
h, err = Hash([NROUNDSF]uint64{bm1, bm1, bm1, bm1, bm1, bm1, bm1, bm1}, [CAPLEN]uint64{bm1, bm1, bm1, bm1})
h, err = Hash(
[NROUNDSF]uint64{bm1, bm1, bm1, bm1, bm1, bm1, bm1, bm1},
[CAPLEN]uint64{bm1, bm1, bm1, bm1},
)
assert.Nil(t, err)
assert.Equal(t,
[CAPLEN]uint64{