diff --git a/cmd/basecli/commands/cmds.go b/cmd/basecli/commands/cmds.go index d6d598590..8ac60bced 100644 --- a/cmd/basecli/commands/cmds.go +++ b/cmd/basecli/commands/cmds.go @@ -17,7 +17,8 @@ import ( btypes "github.com/tendermint/basecoin/types" ) -/******** SendTx *********/ +//------------------------- +// SendTx // SendTxCmd is CLI command to send tokens between basecoin accounts var SendTxCmd = &cobra.Command{ @@ -136,7 +137,8 @@ func parseChainAddress(toFlag string) ([]byte, error) { return to, nil } -/******** AppTx *********/ +//------------------------- +// AppTx // BroadcastAppTx wraps, signs, and executes an app tx basecoin transaction func BroadcastAppTx(tx *btypes.AppTx) (*ctypes.ResultBroadcastTxCommit, error) { diff --git a/cmd/basecli/commands/query.go b/cmd/basecli/commands/query.go index 82ec56491..5b616dc75 100644 --- a/cmd/basecli/commands/query.go +++ b/cmd/basecli/commands/query.go @@ -32,8 +32,7 @@ func doAccountQuery(cmd *cobra.Command, args []string) error { return proofcmd.OutputProof(acc, proof.BlockHeight()) } -/*** this decodes all basecoin tx ***/ - +// BaseTxPresenter this decodes all basecoin tx type BaseTxPresenter struct { proofs.RawPresenter // this handles MakeKey as hex bytes }