From d7cddb252aea86e63efaa8063eebb87df866f866 Mon Sep 17 00:00:00 2001 From: Ethan Frey Date: Fri, 16 Jun 2017 19:31:09 +0200 Subject: [PATCH] Cleaned up comments --- cmd/basecli/commands/cmds.go | 6 ++++-- cmd/basecli/commands/query.go | 3 +-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/cmd/basecli/commands/cmds.go b/cmd/basecli/commands/cmds.go index d6d598590a..8ac60bced5 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 82ec564913..5b616dc75f 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 }