From ad5f73b87ccdde1ec5d1bb07e845b8f8a6bcd4c9 Mon Sep 17 00:00:00 2001 From: Shivam Mantri Date: Tue, 14 Jan 2025 20:35:15 +0530 Subject: [PATCH] fix(grpc): remove ineffective usage of err --- www/grpc/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/grpc/utils.go b/www/grpc/utils.go index d37f0ae8b..26fac1759 100644 --- a/www/grpc/utils.go +++ b/www/grpc/utils.go @@ -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)