From 71a05c0189420cac1e987ff8821e6d24650f19f3 Mon Sep 17 00:00:00 2001 From: Carlos A Becker Date: Tue, 8 Mar 2022 14:38:31 -0300 Subject: [PATCH] fix: rm ununsed var --- cmd/melt/main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/melt/main.go b/cmd/melt/main.go index c4a834c..a01cd8b 100644 --- a/cmd/melt/main.go +++ b/cmd/melt/main.go @@ -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", @@ -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") }