From b8b502c43a8ae3e181a716274b2636936bf12feb Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Thu, 22 Nov 2018 14:42:35 +0000 Subject: [PATCH] Same for democli --- docs/examples/democoin/cmd/democli/main.go | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/examples/democoin/cmd/democli/main.go b/docs/examples/democoin/cmd/democli/main.go index 0c37d9bd0b..a001ee8b5f 100644 --- a/docs/examples/democoin/cmd/democli/main.go +++ b/docs/examples/democoin/cmd/democli/main.go @@ -70,13 +70,11 @@ func main() { // add query/post commands (custom to binary) // start with commands common to basecoin rootCmd.AddCommand( - client.GetCommands( - authcmd.GetAccountCmd(storeAcc, cdc), - )...) + authcmd.GetAccountCmd(storeAcc, cdc), + ) rootCmd.AddCommand( - client.PostCommands( - bankcmd.SendTxCmd(cdc), - )...) + bankcmd.SendTxCmd(cdc), + ) rootCmd.AddCommand( client.PostCommands( simplestakingcmd.BondTxCmd(cdc),