Skip to content

Commit b30d263

Browse files
committed
minor
1 parent 49d39c3 commit b30d263

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

integration_tests/zk_prover_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ func TestZKProver_GenerateZKProofPerSample(t *testing.T) {
116116
}
117117
err = verifyProof1(t, pubs, proofRaw)
118118
if (err != nil) != tt.wantErr {
119-
t.Errorf("ZKProver.GenerateZKProofPerSample() verifyDecodeSample err: %v", err)
119+
t.Errorf("ZKProver.GenerateZKProofPerSample() verifyProof err: %v", err)
120120
return
121121
}
122-
t.Log("verifyDecodeSample success!")
122+
t.Log("verifyProof success!")
123123
})
124124
}
125125
}
@@ -150,7 +150,6 @@ func verifyProof1(t *testing.T, pubs []*big.Int, proof []byte) error {
150150
{Type: u2},
151151
}.UnpackValues(proof)
152152
if err != nil {
153-
t.Errorf("ZKProver.GenerateZKProof() unpackValues err: %v", err)
154153
return err
155154
}
156155
ctx := context.Background()

0 commit comments

Comments
 (0)