Skip to content

Commit

Permalink
fix: rm ununsed var
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Mar 8, 2022
1 parent b88c42d commit 71a05c0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/melt/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ Store them somewhere safe, print or memorize them.`))
}

mnemonic string
algo string
restoreCmd = &coral.Command{
Use: "restore",
Short: "Recreate a key using the given mnemonic words",
Expand All @@ -70,7 +69,6 @@ func init() {
rootCmd.AddCommand(backupCmd, restoreCmd)

restoreCmd.PersistentFlags().StringVarP(&mnemonic, "mnemonic", "m", "-", "Mnemonic set of words given by the backup command")
restoreCmd.PersistentFlags().StringVar(&algo, "algo", "ed25519", "Key algorithm")
_ = restoreCmd.MarkFlagRequired("mnemonic")
}

Expand Down

0 comments on commit 71a05c0

Please sign in to comment.