Fix godocs for NewTxBuilderFromFlags (#6676)

This commit is contained in:
Amaury Martiny 2020-07-10 11:55:17 +02:00 committed by GitHub
parent 6ceedc9e4f
commit d23c779b87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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