From e2a29a64ee3fb923db5ced7962fe6079a0f217cb Mon Sep 17 00:00:00 2001 From: Lane Rettig Date: Wed, 12 Jul 2023 16:35:05 -0400 Subject: [PATCH] Misc cleanup, make linter happy --- cmd/genesis.go | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/cmd/genesis.go b/cmd/genesis.go index 2de25da..e3b1e81 100644 --- a/cmd/genesis.go +++ b/cmd/genesis.go @@ -4,6 +4,8 @@ import ( "crypto/ed25519" "encoding/hex" "fmt" + "log" + "github.com/spacemeshos/economics/constants" "github.com/spacemeshos/go-spacemesh/common/types" "github.com/spacemeshos/go-spacemesh/genvm/core" @@ -11,12 +13,6 @@ import ( "github.com/spacemeshos/go-spacemesh/genvm/templates/vault" "github.com/spacemeshos/go-spacemesh/genvm/templates/vesting" "github.com/spf13/cobra" - "log" -) - -var ( -// debug indicates that the program is in debug mode. -// debugGenesis bool ) // genesisCmd represents the wallet command. @@ -102,5 +98,4 @@ var verifyCmd = &cobra.Command{ func init() { rootCmd.AddCommand(genesisCmd) genesisCmd.AddCommand(verifyCmd) - //readCmd.PersistentFlags().BoolVarP(&debugGenesis, "debug", "d", false, "enable debug mode") }