From 52610d067c937d35193046d7de3a7b0db87d5606 Mon Sep 17 00:00:00 2001 From: zhiqiangxu <652732310@qq.com> Date: Mon, 23 Sep 2024 15:17:18 +0800 Subject: [PATCH] cmd/utils: fix `setEtherbase` (#30488) Make `setEtherbase` fall thorugh and handle `miner.pending.feeRecipient` after showing deprecation-warning for `miner.etherbase`-flag. --- cmd/utils/flags.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index ff0b3a403173d..da2814855a66b 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -1307,7 +1307,6 @@ func MakeAddress(ks *keystore.KeyStore, account string) (accounts.Account, error func setEtherbase(ctx *cli.Context, cfg *ethconfig.Config) { if ctx.IsSet(MinerEtherbaseFlag.Name) { log.Warn("Option --miner.etherbase is deprecated as the etherbase is set by the consensus client post-merge") - return } if !ctx.IsSet(MinerPendingFeeRecipientFlag.Name) { return