From d703c136acbebe6c5053f6ffceb2afb5d19f07cd Mon Sep 17 00:00:00 2001 From: sweexordious Date: Tue, 8 Oct 2024 13:57:39 +0400 Subject: [PATCH] chore: nolint: static check --- rpc/grpc/client_server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc/grpc/client_server.go b/rpc/grpc/client_server.go index 2349f7d3fc..65f9edf079 100644 --- a/rpc/grpc/client_server.go +++ b/rpc/grpc/client_server.go @@ -30,7 +30,7 @@ func StartGRPCServer(ln net.Listener) error { // StartGRPCClient dials the gRPC server using protoAddr and returns a new // BroadcastAPIClient. func StartGRPCClient(protoAddr string) BroadcastAPIClient { - conn, err := grpc.Dial(protoAddr, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(dialerFunc)) + conn, err := grpc.Dial(protoAddr, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(dialerFunc)) //nolint:staticcheck if err != nil { panic(err) } @@ -40,7 +40,7 @@ func StartGRPCClient(protoAddr string) BroadcastAPIClient { // StartBlockAPIGRPCClient dials the gRPC server using protoAddr and returns a new // BlockAPIClient. func StartBlockAPIGRPCClient(protoAddr string) BlockAPIClient { - conn, err := grpc.Dial(protoAddr, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(dialerFunc)) + conn, err := grpc.Dial(protoAddr, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(dialerFunc)) //nolint:staticcheck if err != nil { panic(err) }