Really renames etc -> eyes... finish the job
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ func BuildApp() basecoin.Handler {
|
||||
).
|
||||
// We do this to demo real usage, also embeds it under it's own namespace
|
||||
Dispatch(
|
||||
stack.WrapHandler(etc.NewHandler()),
|
||||
stack.WrapHandler(eyes.NewHandler()),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
+4
-4
@@ -15,7 +15,7 @@ import (
|
||||
rpccmd "github.com/tendermint/basecoin/client/commands/rpc"
|
||||
"github.com/tendermint/basecoin/client/commands/seeds"
|
||||
txcmd "github.com/tendermint/basecoin/client/commands/txs"
|
||||
etccmd "github.com/tendermint/basecoin/modules/eyes/commands"
|
||||
eyescmd "github.com/tendermint/basecoin/modules/eyes/commands"
|
||||
)
|
||||
|
||||
// EyesCli - main basecoin client command
|
||||
@@ -34,7 +34,7 @@ func main() {
|
||||
query.TxQueryCmd,
|
||||
query.KeyQueryCmd,
|
||||
// this is our custom parser
|
||||
etccmd.EtcQueryCmd,
|
||||
eyescmd.EyesQueryCmd,
|
||||
)
|
||||
|
||||
// no middleware wrapers
|
||||
@@ -43,8 +43,8 @@ func main() {
|
||||
|
||||
// just the etc commands
|
||||
txcmd.RootCmd.AddCommand(
|
||||
etccmd.SetTxCmd,
|
||||
etccmd.RemoveTxCmd,
|
||||
eyescmd.SetTxCmd,
|
||||
eyescmd.RemoveTxCmd,
|
||||
)
|
||||
|
||||
// Set up the various commands to use
|
||||
|
||||
Reference in New Issue
Block a user