Really renames etc -> eyes... finish the job

This commit is contained in:
Ethan Frey
2017-08-07 19:21:07 +02:00
parent 3f6071da85
commit 2b1c4dd8b9
10 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -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
View File
@@ -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