cli: fatal error if no etherbase for mining

release/1.0.1
zelig 10 years ago
parent be843959cb
commit 1b7c017076
  1. 4
      cmd/geth/main.go

@ -359,7 +359,9 @@ func startEth(ctx *cli.Context, eth *eth.Ethereum) {
}
}
if ctx.GlobalBool(utils.MiningEnabledFlag.Name) {
eth.StartMining()
if err := eth.StartMining(); err != nil {
utils.Fatalf("%v", err)
}
}
}

Loading…
Cancel
Save