Merge PR #3859: Add newline to echo of `gaiacli keys ...`
`gaiacli keys add a123 --multisig a1,a2,a3 --multisig-threshold 2` `gaiacli keys add temp --recover` with incorrect mnemonic
This commit is contained in:
parent
b316c477c1
commit
38796c1036
|
@ -39,6 +39,8 @@
|
||||||
|
|
||||||
### Gaia CLI
|
### Gaia CLI
|
||||||
|
|
||||||
|
* [\#3859](https://github.com/cosmos/cosmos-sdk/pull/3859) Add newline to echo of `gaiacli keys ...`
|
||||||
|
|
||||||
### Gaia
|
### Gaia
|
||||||
|
|
||||||
* #3808 `gaiad` and `gaiacli` integration tests use ./build/ binaries.
|
* #3808 `gaiad` and `gaiacli` integration tests use ./build/ binaries.
|
||||||
|
|
|
@ -146,7 +146,7 @@ func runAddCmd(_ *cobra.Command, args []string) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Fprintf(os.Stderr, "Key %q saved to disk.", name)
|
fmt.Fprintf(os.Stderr, "Key %q saved to disk.\n", name)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -216,7 +216,7 @@ func runAddCmd(_ *cobra.Command, args []string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if !bip39.IsMnemonicValid(mnemonic) {
|
if !bip39.IsMnemonicValid(mnemonic) {
|
||||||
fmt.Fprintf(os.Stderr, "Error: Mnemonic is not valid")
|
fmt.Fprintf(os.Stderr, "Error: Mnemonic is not valid.\n")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue