aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-10 00:04:38 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-10 00:04:38 +0800
commit9723191b19f6ddc12f0c3376ede7529b2d72e6a2 (patch)
tree8b36eac22c0546f89185625ebec5a979750d869b /cmd
parentfb23a0cfe06b52919107879e646e7d9b066acb0e (diff)
downloaddexon-9723191b19f6ddc12f0c3376ede7529b2d72e6a2.tar
dexon-9723191b19f6ddc12f0c3376ede7529b2d72e6a2.tar.gz
dexon-9723191b19f6ddc12f0c3376ede7529b2d72e6a2.tar.bz2
dexon-9723191b19f6ddc12f0c3376ede7529b2d72e6a2.tar.lz
dexon-9723191b19f6ddc12f0c3376ede7529b2d72e6a2.tar.xz
dexon-9723191b19f6ddc12f0c3376ede7529b2d72e6a2.tar.zst
dexon-9723191b19f6ddc12f0c3376ede7529b2d72e6a2.zip
Undo client_version changes
Diffstat (limited to 'cmd')
-rw-r--r--cmd/ethereum/main.go3
-rw-r--r--cmd/mist/main.go4
2 files changed, 4 insertions, 3 deletions
diff --git a/cmd/ethereum/main.go b/cmd/ethereum/main.go
index afb90d72a..f79f948d1 100644
--- a/cmd/ethereum/main.go
+++ b/cmd/ethereum/main.go
@@ -31,6 +31,7 @@ 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"
)
@@ -61,7 +62,7 @@ func main() {
utils.InitConfig(VmType, ConfigFile, Datadir, "ETH")
ethereum, err := eth.New(&eth.Config{
- Name: ethutil.MakeVersion(ClientIdentifier, Version),
+ Name: p2p.MakeName(ClientIdentifier, Version),
KeyStore: KeyStore,
DataDir: Datadir,
LogFile: LogFile,
diff --git a/cmd/mist/main.go b/cmd/mist/main.go
index 0ece20d2c..c9a07bfde 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(&eth.Config{
- Name: ethutil.MakeVersion(ClientIdentifier, Version),
+ Name: p2p.MakeName(ClientIdentifier, Version),
KeyStore: KeyStore,
DataDir: Datadir,
LogFile: LogFile,