mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2025-01-11 05:00:05 +00:00
cli: fatal error if no etherbase for mining
This commit is contained in:
parent
be843959cb
commit
1b7c017076
@ -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…
Reference in New Issue
Block a user