mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
cmd/puppeth: avoid package dependency on utils
This commit is contained in:
parent
29d050dd42
commit
b1cba4f866
1 changed files with 1 additions and 2 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue