fixes, add to changelog

This commit is contained in:
rigelrozanski
2018-03-04 17:21:37 +00:00
parent a2e4479dcc
commit fb199e293e
5 changed files with 31 additions and 8 deletions
+9
View File
@@ -13,6 +13,7 @@ import (
"github.com/cosmos/cosmos-sdk/client/lcd"
"github.com/cosmos/cosmos-sdk/client/rpc"
"github.com/cosmos/cosmos-sdk/client/tx"
coolcmd "github.com/cosmos/cosmos-sdk/examples/basecoin/x/cool/commands"
"github.com/cosmos/cosmos-sdk/version"
authcmd "github.com/cosmos/cosmos-sdk/x/auth/commands"
bankcmd "github.com/cosmos/cosmos-sdk/x/bank/commands"
@@ -55,6 +56,14 @@ func main() {
client.PostCommands(
bankcmd.SendTxCmd(cdc),
)...)
basecliCmd.AddCommand(
client.PostCommands(
coolcmd.WhatCoolTxCmd(cdc),
)...)
basecliCmd.AddCommand(
client.PostCommands(
coolcmd.SetWhatCoolTxCmd(cdc),
)...)
// add proxy, version and key info
basecliCmd.AddCommand(
+2 -2
View File
@@ -12,7 +12,7 @@ import (
"github.com/cosmos/cosmos-sdk/examples/basecoin/x/cool"
)
// what cool trasaction
// what cool transaction
func WhatCoolTxCmd(cdc *wire.Codec) *cobra.Command {
return &cobra.Command{
Use: "whatcool [answer]",
@@ -43,7 +43,7 @@ func WhatCoolTxCmd(cdc *wire.Codec) *cobra.Command {
}
}
// set what cool trasaction
// set what cool transaction
func SetWhatCoolTxCmd(cdc *wire.Codec) *cobra.Command {
return &cobra.Command{
Use: "setwhatcool [answer]",