diff --git a/client/tx/tx.go b/client/tx/tx.go index 31c94eceb7..86c0caaa06 100644 --- a/client/tx/tx.go +++ b/client/tx/tx.go @@ -21,7 +21,7 @@ import ( authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" ) -// GenerateOrBroadcastTxCLI will either generate and print and unsigned transaction +// GenerateOrBroadcastTxCLI will either generate and print an unsigned transaction // or sign it and broadcast it returning an error upon failure. func GenerateOrBroadcastTxCLI(clientCtx client.Context, flagSet *pflag.FlagSet, msgs ...sdk.Msg) error { txf, err := NewFactoryCLI(clientCtx, flagSet) @@ -32,7 +32,7 @@ func GenerateOrBroadcastTxCLI(clientCtx client.Context, flagSet *pflag.FlagSet, return GenerateOrBroadcastTxWithFactory(clientCtx, txf, msgs...) } -// GenerateOrBroadcastTxWithFactory will either generate and print and unsigned transaction +// GenerateOrBroadcastTxWithFactory will either generate and print an unsigned transaction // or sign it and broadcast it returning an error upon failure. func GenerateOrBroadcastTxWithFactory(clientCtx client.Context, txf Factory, msgs ...sdk.Msg) error { // Validate all msgs before generating or broadcasting the tx.