Description
This code fails ->
fs := poseidon2.NewMerkleDamgardHasher()
var a [4]byte
_, err := fs.Write(a[:])
if err != nil {
fmt.Println(err)
}
Expected Behavior
should update the state and Compress correctly
Actual Behavior
When compressing, the code goes there -->
if len(left) != desiredLen || len(right) != desiredLen {
return nil, fmt.Errorf("left input should be %d bytes", desiredLen)
}
Description
This code fails ->
Expected Behavior
should update the state and Compress correctly
Actual Behavior
When compressing, the code goes there -->