Skip to content

Commit

Permalink
refactor: remove redundant type
Browse files Browse the repository at this point in the history
  • Loading branch information
Halimao committed Dec 11, 2023
1 parent 008ae11 commit 094eb41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/keys/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ func runAddCmd(ctx client.Context, cmd *cobra.Command, args []string, inBuf *buf
return printCreate(ctx, cmd, k, showMnemonic, showMnemonicIndiscreetly, mnemonic, outputFormat)
}

func printCreate(ctx client.Context, cmd *cobra.Command, k *keyring.Record, showMnemonic bool, showMnemonicIndiscreetly bool, mnemonic, outputFormat string) error {
func printCreate(ctx client.Context, cmd *cobra.Command, k *keyring.Record, showMnemonic, showMnemonicIndiscreetly bool, mnemonic, outputFormat string) error {
switch outputFormat {
case flags.OutputFormatText:
cmd.PrintErrln()
Expand Down

0 comments on commit 094eb41

Please sign in to comment.