Skip to content

Commit 118c84a

Browse files
authored
cmd/utils: fix setEtherbase (ethereum#30488)
Make `setEtherbase` fall thorugh and handle `miner.pending.feeRecipient` after showing deprecation-warning for `miner.etherbase`-flag.
1 parent f4c6c03 commit 118c84a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cmd/utils/flags.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,6 @@ func MakeAddress(ks *keystore.KeyStore, account string) (accounts.Account, error
13071307
func setEtherbase(ctx *cli.Context, cfg *ethconfig.Config) {
13081308
if ctx.IsSet(MinerEtherbaseFlag.Name) {
13091309
log.Warn("Option --miner.etherbase is deprecated as the etherbase is set by the consensus client post-merge")
1310-
return
13111310
}
13121311
if !ctx.IsSet(MinerPendingFeeRecipientFlag.Name) {
13131312
return

0 commit comments

Comments
 (0)