fixed incomplete merge

This commit is contained in:
zsfelfoldi 2015-04-14 16:12:35 +02:00 committed by zelig
parent d8fb834386
commit bb793c829f

View File

@ -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),
} }
} }