Commit bb793c82 authored by zsfelfoldi's avatar zsfelfoldi Committed by zelig

fixed incomplete merge

parent d8fb8343
...@@ -256,25 +256,27 @@ func MakeEthConfig(clientID, version string, ctx *cli.Context) *eth.Config { ...@@ -256,25 +256,27 @@ func MakeEthConfig(clientID, version string, ctx *cli.Context) *eth.Config {
} }
return &eth.Config{ return &eth.Config{
Name: common.MakeName(clientID, version), Name: common.MakeName(clientID, version),
DataDir: ctx.GlobalString(DataDirFlag.Name), DataDir: ctx.GlobalString(DataDirFlag.Name),
ProtocolVersion: ctx.GlobalInt(ProtocolVersionFlag.Name), ProtocolVersion: ctx.GlobalInt(ProtocolVersionFlag.Name),
NetworkId: ctx.GlobalInt(NetworkIdFlag.Name), BlockChainVersion: ctx.GlobalInt(BlockchainVersionFlag.Name),
LogFile: ctx.GlobalString(LogFileFlag.Name), SkipBcVersionCheck: false,
LogLevel: ctx.GlobalInt(LogLevelFlag.Name), NetworkId: ctx.GlobalInt(NetworkIdFlag.Name),
LogJSON: ctx.GlobalString(LogJSONFlag.Name), LogFile: ctx.GlobalString(LogFileFlag.Name),
Etherbase: ctx.GlobalString(EtherbaseFlag.Name), LogLevel: ctx.GlobalInt(LogLevelFlag.Name),
MinerThreads: ctx.GlobalInt(MinerThreadsFlag.Name), LogJSON: ctx.GlobalString(LogJSONFlag.Name),
AccountManager: GetAccountManager(ctx), Etherbase: ctx.GlobalString(EtherbaseFlag.Name),
VmDebug: ctx.GlobalBool(VMDebugFlag.Name), MinerThreads: ctx.GlobalInt(MinerThreadsFlag.Name),
MaxPeers: ctx.GlobalInt(MaxPeersFlag.Name), AccountManager: GetAccountManager(ctx),
Port: ctx.GlobalString(ListenPortFlag.Name), VmDebug: ctx.GlobalBool(VMDebugFlag.Name),
NAT: GetNAT(ctx), MaxPeers: ctx.GlobalInt(MaxPeersFlag.Name),
NatSpec: ctx.GlobalBool(NatspecEnabledFlag.Name), Port: ctx.GlobalString(ListenPortFlag.Name),
NodeKey: GetNodeKey(ctx), NAT: GetNAT(ctx),
Shh: true, NatSpec: ctx.GlobalBool(NatspecEnabledFlag.Name),
Dial: true, NodeKey: GetNodeKey(ctx),
BootNodes: ctx.GlobalString(BootnodesFlag.Name), Shh: true,
Dial: true,
BootNodes: ctx.GlobalString(BootnodesFlag.Name),
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment