Skip to content

Commit e1a6308

Browse files
committed
disabling proposer reorg should set parent_threshold to u64 max
1 parent 6cd9557 commit e1a6308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beacon_node/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ pub fn get_config<E: EthSpec>(
748748

749749
if cli_args.is_present("disable-proposer-reorgs") {
750750
client_config.chain.re_org_head_threshold = None;
751-
client_config.chain.re_org_parent_threshold = None;
751+
client_config.chain.re_org_parent_threshold = u64::MAX;
752752
} else {
753753
client_config.chain.re_org_head_threshold = Some(
754754
clap_utils::parse_optional(cli_args, "proposer-reorg-threshold")?

0 commit comments

Comments
 (0)