Skip to content

Commit

Permalink
fix(grpc): remove ineffective usage of err
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivam Mantri authored and Shivam Mantri committed Jan 14, 2025
1 parent 989bb0b commit ad5f73b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/grpc/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (*utilServer) SignMessageWithPrivateKey(_ context.Context,
func (*utilServer) VerifyMessage(_ context.Context,
req *pactus.VerifyMessageRequest,
) (*pactus.VerifyMessageResponse, error) {
blsPub, err := bls.PublicKeyFromString(req.PublicKey)
blsPub, _ := bls.PublicKeyFromString(req.PublicKey)

if blsPub != nil {
sig, err := bls.SignatureFromString(req.Signature)
Expand Down

0 comments on commit ad5f73b

Please sign in to comment.