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:
committed by
Christopher Goes
parent
b316c477c1
commit
38796c1036
@@ -39,6 +39,8 @@
|
||||
|
||||
### Gaia CLI
|
||||
|
||||
* [\#3859](https://github.com/cosmos/cosmos-sdk/pull/3859) Add newline to echo of `gaiacli keys ...`
|
||||
|
||||
### Gaia
|
||||
|
||||
* #3808 `gaiad` and `gaiacli` integration tests use ./build/ binaries.
|
||||
|
||||
+2
-2
@@ -146,7 +146,7 @@ func runAddCmd(_ *cobra.Command, args []string) error {
|
||||
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
|
||||
}
|
||||
|
||||
@@ -216,7 +216,7 @@ func runAddCmd(_ *cobra.Command, args []string) error {
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user