Skip to content

Commit

Permalink
Update connection.go
Browse files Browse the repository at this point in the history
  • Loading branch information
shivnative authored Oct 3, 2024
1 parent b36a33a commit 6b2c578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/blockchain/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func NewConn(rpc, gRPC string) (*Conn, error) {
}

// Create a connection to the gRPC server.
grpcConn, err := grpc.Dial(
grpcConn, err := grpc.NewClient(
gRPC, // your gRPC server address.
grpc.WithTransportCredentials(insecure.NewCredentials()), // The Cosmos SDK doesn't support any transport security mechanism.
// This instantiates a general gRPC codec which handles proto bytes. We pass in a nil interface registry
Expand Down

0 comments on commit 6b2c578

Please sign in to comment.