mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-19 13:58:28 +00:00
Delete --builder-profit-threshold flag (#6131)
* delete builder-profit-threshold flag
This commit is contained in:
@@ -1407,14 +1407,6 @@ pub fn cli_app() -> Command {
|
||||
.help_heading(FLAG_HEADER)
|
||||
.display_order(0)
|
||||
)
|
||||
.arg(
|
||||
Arg::new("builder-profit-threshold")
|
||||
.long("builder-profit-threshold")
|
||||
.value_name("WEI_VALUE")
|
||||
.help("This flag is deprecated and has no effect.")
|
||||
.action(ArgAction::Set)
|
||||
.display_order(0)
|
||||
)
|
||||
.arg(
|
||||
Arg::new("builder-user-agent")
|
||||
.long("builder-user-agent")
|
||||
|
||||
@@ -335,13 +335,6 @@ pub fn get_config<E: EthSpec>(
|
||||
.map(Duration::from_millis);
|
||||
}
|
||||
|
||||
if parse_flag(cli_args, "builder-profit-threshold") {
|
||||
warn!(
|
||||
log,
|
||||
"Ignoring --builder-profit-threshold";
|
||||
"info" => "this flag is deprecated and will be removed"
|
||||
);
|
||||
}
|
||||
if cli_args.get_flag("always-prefer-builder-payload") {
|
||||
warn!(
|
||||
log,
|
||||
|
||||
Reference in New Issue
Block a user