Skip to content

Commit

Permalink
ignore error
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Oct 23, 2024
1 parent 029fe6d commit c910589
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tx/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,5 @@ func RegisterTxQuery(qrt gogogrpc.Server, gpk GasPriceKeeper) {

// RegisterGRPCGatewayRoutes mounts the tx query's GRPC-gateway routes on the given Mux.
func RegisterGRPCGatewayRoutes(clientConn gogogrpc.ClientConn, mux *runtime.ServeMux) {
err := txtypes.RegisterQueryHandlerClient(context.Background(), mux, txtypes.NewQueryClient(clientConn))
if err != nil {
panic(err)
}
_ = txtypes.RegisterQueryHandlerClient(context.Background(), mux, txtypes.NewQueryClient(clientConn))
}

0 comments on commit c910589

Please sign in to comment.