aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-12 21:51:05 +0800
committerobscuren <geffobscura@gmail.com>2015-03-12 21:51:05 +0800
commit26a563642431806486b595f29e22ae833abb6a8c (patch)
tree3dfe8ab6581a01317dd4e37a88aacf3551535551 /cmd/utils
parent4418e4ea6a9b8d648bcb7e7241b887cbab6936bc (diff)
parent3b3843e158d9ddbe76dcfa1e78977f0bd99a9142 (diff)
downloadgo-tangerine-26a563642431806486b595f29e22ae833abb6a8c.tar
go-tangerine-26a563642431806486b595f29e22ae833abb6a8c.tar.gz
go-tangerine-26a563642431806486b595f29e22ae833abb6a8c.tar.bz2
go-tangerine-26a563642431806486b595f29e22ae833abb6a8c.tar.lz
go-tangerine-26a563642431806486b595f29e22ae833abb6a8c.tar.xz
go-tangerine-26a563642431806486b595f29e22ae833abb6a8c.tar.zst
go-tangerine-26a563642431806486b595f29e22ae833abb6a8c.zip
Merge branch 'develop' into rpcfrontier
Diffstat (limited to 'cmd/utils')
-rw-r--r--cmd/utils/flags.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index 5c188a41e..990fb08e0 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -18,7 +18,6 @@ import (
"github.com/ethereum/go-ethereum/ethutil"
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/logger"
- "github.com/ethereum/go-ethereum/p2p"
"github.com/ethereum/go-ethereum/p2p/nat"
"github.com/ethereum/go-ethereum/rpc"
"github.com/ethereum/go-ethereum/xeth"
@@ -194,7 +193,7 @@ func GetNodeKey(ctx *cli.Context) (key *ecdsa.PrivateKey) {
func GetEthereum(clientID, version string, ctx *cli.Context) (*eth.Ethereum, error) {
return eth.New(&eth.Config{
- Name: p2p.MakeName(clientID, version),
+ Name: ethutil.MakeName(clientID, version),
DataDir: ctx.GlobalString(DataDirFlag.Name),
LogFile: ctx.GlobalString(LogFileFlag.Name),
LogLevel: ctx.GlobalInt(LogLevelFlag.Name),