From b1cba4f8662a619af8ae22bcac4ee566950d082b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Mon, 26 Mar 2018 14:49:31 +0300 Subject: [PATCH] cmd/puppeth: avoid package dependency on utils --- cmd/puppeth/puppeth.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/puppeth/puppeth.go b/cmd/puppeth/puppeth.go index c3132daa18..f9b8fe4811 100644 --- a/cmd/puppeth/puppeth.go +++ b/cmd/puppeth/puppeth.go @@ -23,7 +23,6 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/log" "gopkg.in/urfave/cli.v1" ) @@ -51,7 +50,7 @@ func main() { network := c.String("network") if strings.Contains(network, " ") || strings.Contains(network, "-") { - utils.Fatalf("No spaces or hyphens allowed in network name") + log.Crit("No spaces or hyphens allowed in network name") } // Start the wizard and relinquish control makeWizard(c.String("network")).run()