Skip to content

Commit

Permalink
chore: nolint: static check
Browse files Browse the repository at this point in the history
  • Loading branch information
rach-id committed Oct 8, 2024
1 parent 27152f4 commit d703c13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpc/grpc/client_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand All @@ -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)
}
Expand Down

0 comments on commit d703c13

Please sign in to comment.