Skip to content

Commit

Permalink
fix: panic math.LegacyDec deserialization
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilkumarpilli committed Jul 9, 2024
1 parent 1cc3043 commit ff3edfa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ func ReadPersistentCommandFlags(clientCtx Context, flagSet *pflag.FlagSet) (Cont
})))
}

dialOpts = append(dialOpts, grpc.WithDefaultCallOptions(grpc.ForceCodec(clientCtx.gRPCCodec())))

grpcClient, err := grpc.Dial(grpcURI, dialOpts...)
if err != nil {
return Context{}, err
Expand Down

0 comments on commit ff3edfa

Please sign in to comment.