cmd/puppeth: avoid package dependency on utils

This commit is contained in:
Péter Szilágyi 2018-03-26 14:49:31 +03:00 committed by GitHub
parent 29d050dd42
commit b1cba4f866
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,6 @@ import (
"strings" "strings"
"time" "time"
"github.com/ethereum/go-ethereum/cmd/utils"
"github.com/ethereum/go-ethereum/log" "github.com/ethereum/go-ethereum/log"
"gopkg.in/urfave/cli.v1" "gopkg.in/urfave/cli.v1"
) )
@ -51,7 +50,7 @@ func main() {
network := c.String("network") network := c.String("network")
if strings.Contains(network, " ") || strings.Contains(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 // Start the wizard and relinquish control
makeWizard(c.String("network")).run() makeWizard(c.String("network")).run()