Skip to content

Commit

Permalink
fix(ag-cosmos-helper): properly register /txs route
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Feb 24, 2020
1 parent 36872fb commit 17bae2d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/cosmic-swingset/lib/helper/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ import (
"os"
"path"

app "github.com/Agoric/cosmic-swingset"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/keys"
"github.com/cosmos/cosmos-sdk/client/lcd"
"github.com/cosmos/cosmos-sdk/client/rpc"
sdk "github.com/cosmos/cosmos-sdk/types"
authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli"
authrest "github.com/cosmos/cosmos-sdk/x/auth/client/rest"
bankcmd "github.com/cosmos/cosmos-sdk/x/bank/client/cli"
app "github.com/Agoric/cosmic-swingset"
"github.com/spf13/cobra"
"github.com/spf13/viper"
amino "github.com/tendermint/go-amino"
Expand Down Expand Up @@ -64,6 +65,7 @@ func Run() {

func registerRoutes(rs *lcd.RestServer) {
client.RegisterRoutes(rs.CliCtx, rs.Mux)
authrest.RegisterTxRoutes(rs.CliCtx, rs.Mux)
app.ModuleBasics.RegisterRESTRoutes(rs.CliCtx, rs.Mux)
}

Expand Down

0 comments on commit 17bae2d

Please sign in to comment.