Skip to content

Commit

Permalink
disabling proposer reorg should set parent_threshold to u64 max
Browse files Browse the repository at this point in the history
  • Loading branch information
eserilev committed Mar 17, 2024
1 parent 6cd9557 commit e1a6308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon_node/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ pub fn get_config<E: EthSpec>(

if cli_args.is_present("disable-proposer-reorgs") {
client_config.chain.re_org_head_threshold = None;
client_config.chain.re_org_parent_threshold = None;
client_config.chain.re_org_parent_threshold = u64::MAX;
} else {
client_config.chain.re_org_head_threshold = Some(
clap_utils::parse_optional(cli_args, "proposer-reorg-threshold")?
Expand Down

0 comments on commit e1a6308

Please sign in to comment.