Merge PR #3731: Fix keys add --interactive regression

This commit is contained in:
Jack Zampolin
2019-02-25 11:19:57 -08:00
committed by GitHub
parent 6d2da06dce
commit 250dc9807b
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -75,6 +75,8 @@ CLI flag.
### Gaia CLI
* [\#3731](https://github.com/cosmos/cosmos-sdk/pull/3731) `keys add --interactive` bip32 passphrase regression fix
### Gaia
### SDK
+1 -1
View File
@@ -242,7 +242,7 @@ func runAddCmd(_ *cobra.Command, args []string) error {
}
}
info, err := kb.CreateAccount(name, mnemonic, keys.DefaultBIP39Passphrase, encryptPassword, account, index)
info, err := kb.CreateAccount(name, mnemonic, bip39Passphrase, encryptPassword, account, index)
if err != nil {
return err
}