Skip to content

Commit

Permalink
[Go] fix wrong check in test case, err can never !nil there
Browse files Browse the repository at this point in the history
  • Loading branch information
Vindaar committed May 30, 2024
1 parent 31bcc34 commit 351dc5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion constantine-go/constantine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ func TestSign(t *testing.T) {
return
}
status, err = sig.AreEqual(output)
if err != nil {
if !status { // signatures mismatch
var sigBytes [96]byte
var roundTrip [96]byte
sb_status, _ := sig.SerializeCompressed(&sigBytes)
Expand Down

0 comments on commit 351dc5e

Please sign in to comment.