Skip to content
Permalink
Browse files

Fix Blockchain Version

  • Loading branch information...
maran committed May 27, 2015
1 parent fbb015c commit 355e275e2c564c4ad6feec14901da24d4875bb00
Showing with 3 additions and 2 deletions.
  1. +3 −2 main.go
@@ -47,6 +47,7 @@ func init() {
utils.VerbosityFlag,
utils.MaxPeersFlag,
utils.EtherbaseFlag,
utils.BlockchainVersionFlag,
utils.MinerThreadsFlag,
utils.MiningEnabledFlag,
utils.NATFlag,
@@ -75,14 +76,14 @@ func main() {
func run(ctx *cli.Context) {
importer := NewImporter(ctx)
utils.HandleInterrupt()

cfg := utils.MakeEthConfig("EthChainParser", Version, ctx)

ethereum, err := eth.New(cfg)
utils.StartEthereum(ethereum)

if err != nil {
utils.Fatalf("%v", err)
}
utils.StartEthereum(ethereum)

if ctx.GlobalBool(utils.RPCEnabledFlag.Name) {
utils.StartRPC(ethereum, ctx)

0 comments on commit 355e275

Please sign in to comment.
You can’t perform that action at this time.