diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-03 03:21:57 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-03 03:21:57 +0800 |
commit | e7b33e9ae796cd0ba4c840ee3fead85132ebdccd (patch) | |
tree | a833d9f66d175173fe57520b2b08ce45afbae86a /cmd | |
parent | fb2488235a9cc187047810817ce3fa34c5087c67 (diff) | |
download | go-tangerine-e7b33e9ae796cd0ba4c840ee3fead85132ebdccd.tar go-tangerine-e7b33e9ae796cd0ba4c840ee3fead85132ebdccd.tar.gz go-tangerine-e7b33e9ae796cd0ba4c840ee3fead85132ebdccd.tar.bz2 go-tangerine-e7b33e9ae796cd0ba4c840ee3fead85132ebdccd.tar.lz go-tangerine-e7b33e9ae796cd0ba4c840ee3fead85132ebdccd.tar.xz go-tangerine-e7b33e9ae796cd0ba4c840ee3fead85132ebdccd.tar.zst go-tangerine-e7b33e9ae796cd0ba4c840ee3fead85132ebdccd.zip |
Move p2p.MakeName to ethutil.MakeVersion
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/ethereum/main.go | 3 | ||||
-rw-r--r-- | cmd/mist/main.go | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/cmd/ethereum/main.go b/cmd/ethereum/main.go index f79f948d1..afb90d72a 100644 --- a/cmd/ethereum/main.go +++ b/cmd/ethereum/main.go @@ -31,7 +31,6 @@ import ( "github.com/ethereum/go-ethereum/eth" "github.com/ethereum/go-ethereum/ethutil" "github.com/ethereum/go-ethereum/logger" - "github.com/ethereum/go-ethereum/p2p" "github.com/ethereum/go-ethereum/state" ) @@ -62,7 +61,7 @@ func main() { utils.InitConfig(VmType, ConfigFile, Datadir, "ETH") ethereum, err := eth.New(ð.Config{ - Name: p2p.MakeName(ClientIdentifier, Version), + Name: ethutil.MakeVersion(ClientIdentifier, Version), KeyStore: KeyStore, DataDir: Datadir, LogFile: LogFile, diff --git a/cmd/mist/main.go b/cmd/mist/main.go index c9a07bfde..0ece20d2c 100644 --- a/cmd/mist/main.go +++ b/cmd/mist/main.go @@ -28,8 +28,8 @@ import ( "github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/eth" + "github.com/ethereum/go-ethereum/ethutil" "github.com/ethereum/go-ethereum/logger" - "github.com/ethereum/go-ethereum/p2p" "github.com/ethereum/go-ethereum/ui/qt/webengine" "github.com/obscuren/qml" ) @@ -52,7 +52,7 @@ func run() error { config := utils.InitConfig(VmType, ConfigFile, Datadir, "ETH") ethereum, err := eth.New(ð.Config{ - Name: p2p.MakeName(ClientIdentifier, Version), + Name: ethutil.MakeVersion(ClientIdentifier, Version), KeyStore: KeyStore, DataDir: Datadir, LogFile: LogFile, |