aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/ethereum/main.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-02-05 10:16:16 +0800
committerFelix Lange <fjl@twurst.com>2015-02-06 07:03:59 +0800
commit56f777b2fc77275bc636562b66a08b19afe2ec56 (patch)
treec9a34bd23e13adb0d850957b9a66cd748d34b3e3 /cmd/ethereum/main.go
parent8e8ec8f5f8974aafeac5e4a9ead76878fe22cefd (diff)
downloaddexon-56f777b2fc77275bc636562b66a08b19afe2ec56.tar
dexon-56f777b2fc77275bc636562b66a08b19afe2ec56.tar.gz
dexon-56f777b2fc77275bc636562b66a08b19afe2ec56.tar.bz2
dexon-56f777b2fc77275bc636562b66a08b19afe2ec56.tar.lz
dexon-56f777b2fc77275bc636562b66a08b19afe2ec56.tar.xz
dexon-56f777b2fc77275bc636562b66a08b19afe2ec56.tar.zst
dexon-56f777b2fc77275bc636562b66a08b19afe2ec56.zip
cmd/ethereum, cmd/mist, core, eth, javascript, xeth: fixes for new p2p API
Diffstat (limited to 'cmd/ethereum/main.go')
-rw-r--r--cmd/ethereum/main.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd/ethereum/main.go b/cmd/ethereum/main.go
index 4b16fb79f..faac0bc5d 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,13 +62,11 @@ func main() {
utils.InitConfig(VmType, ConfigFile, Datadir, "ETH")
ethereum, err := eth.New(&eth.Config{
- Name: ClientIdentifier,
- Version: Version,
+ Name: p2p.MakeName(ClientIdentifier, Version),
KeyStore: KeyStore,
DataDir: Datadir,
LogFile: LogFile,
LogLevel: LogLevel,
- Identifier: Identifier,
MaxPeers: MaxPeer,
Port: OutboundPort,
NATType: PMPGateway,