Cleaned up comments

This commit is contained in:
Ethan Frey 2017-06-16 19:31:09 +02:00
parent 6c01988388
commit d7cddb252a
2 changed files with 5 additions and 4 deletions

View File

@ -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) {

View File

@ -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
}