From d23c779b8724a081be6633c7da43903c2449ef4a Mon Sep 17 00:00:00 2001 From: Amaury Martiny Date: Fri, 10 Jul 2020 11:55:17 +0200 Subject: [PATCH] Fix godocs for NewTxBuilderFromFlags (#6676) --- x/auth/types/txbuilder.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x/auth/types/txbuilder.go b/x/auth/types/txbuilder.go index 1eb7f465c..2cb5969b5 100644 --- a/x/auth/types/txbuilder.go +++ b/x/auth/types/txbuilder.go @@ -52,8 +52,8 @@ func NewTxBuilder( } } -// NewTxBuilderFromCLI returns a new initialized TxBuilder with parameters extracted from -// FlagSet (It should deprecate NewTxBuilderFromCLI). +// NewTxBuilderFromFlags returns a new initialized TxBuilder with parameters extracted from +// FlagSet. func NewTxBuilderFromFlags(input io.Reader, fs *pflag.FlagSet, keyringPath string) (TxBuilder, error) { backend, _ := fs.GetString(flags.FlagKeyringBackend) kb, _ := keyring.New(sdk.KeyringServiceName(), backend, keyringPath, input)