From 9bb9bff96fec73655b71198e7d02407e93be72a7 Mon Sep 17 00:00:00 2001 From: Parsa Akbari Date: Fri, 24 Mar 2023 03:16:26 +0330 Subject: [PATCH] docs: fix a typo (#15542) Co-authored-by: Marko --- client/tx/tx.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.