Skip to content

Commit

Permalink
update grpc opts
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed May 1, 2024
1 parent 8f12ce0 commit 318bc1b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions lint/lint.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,17 @@ import (
"context"
"encoding/csv"
"fmt"
"golang.org/x/exp/maps"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials/insecure"
"io"
"log"
"os"
"path"
"strings"
"sync"

"golang.org/x/exp/maps"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials/insecure"

"github.com/onflow/cadence/runtime/common"
"github.com/onflow/cadence/runtime/pretty"
"github.com/onflow/cadence/tools/analysis"
Expand Down Expand Up @@ -175,8 +176,10 @@ func newFlowAccess(networkName string) (*grpcAccess.Client, error) {

return grpcAccess.NewClient(
network,
grpc.WithTransportCredentials(insecure.NewCredentials()),
grpc.WithDefaultCallOptions(),
grpcAccess.WithGRPCDialOptions(
grpc.WithTransportCredentials(insecure.NewCredentials()),
grpc.WithDefaultCallOptions(),
),
)
}

Expand Down

0 comments on commit 318bc1b

Please sign in to comment.