mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
fix setEtherbase
This commit is contained in:
parent
9326a118c7
commit
658d025f6a
1 changed files with 0 additions and 1 deletions
|
|
@ -1307,7 +1307,6 @@ func MakeAddress(ks *keystore.KeyStore, account string) (accounts.Account, error
|
||||||
func setEtherbase(ctx *cli.Context, cfg *ethconfig.Config) {
|
func setEtherbase(ctx *cli.Context, cfg *ethconfig.Config) {
|
||||||
if ctx.IsSet(MinerEtherbaseFlag.Name) {
|
if ctx.IsSet(MinerEtherbaseFlag.Name) {
|
||||||
log.Warn("Option --miner.etherbase is deprecated as the etherbase is set by the consensus client post-merge")
|
log.Warn("Option --miner.etherbase is deprecated as the etherbase is set by the consensus client post-merge")
|
||||||
return
|
|
||||||
}
|
}
|
||||||
if !ctx.IsSet(MinerPendingFeeRecipientFlag.Name) {
|
if !ctx.IsSet(MinerPendingFeeRecipientFlag.Name) {
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue