Skip to content

Commit

Permalink
chore(crypto): fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
b00f committed Sep 27, 2024
1 parent 2c65551 commit f14cd0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/ed25519/public_key_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func TestNilPublicKey(t *testing.T) {
assert.Error(t, pub.VerifyAddress(ts.RandAccAddress()))
assert.Error(t, pub.VerifyAddress(ts.RandValAddress()))
assert.Error(t, pub.Verify(nil, nil))
assert.Panics(t, func() { pub.Verify(nil, randSig) })
assert.Panics(t, func() { _ = pub.Verify(nil, randSig) })
}

func TestNilSignature(t *testing.T) {
Expand Down

0 comments on commit f14cd0e

Please sign in to comment.