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) }