good morning!!!!

Skip to content
Snippets Groups Projects
Commit 1b7c0170 authored by Viktor Trón's avatar Viktor Trón
Browse files

cli: fatal error if no etherbase for mining

parent be843959
Loading
......@@ -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)
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment