Skip to content

Commit e4dc5c3

Browse files
committed
Drop update data custody info condition
1 parent 996c140 commit e4dc5c3

File tree

1 file changed

+6
-13
lines changed
  • beacon_node/http_api/src

1 file changed

+6
-13
lines changed

beacon_node/http_api/src/lib.rs

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3842,19 +3842,12 @@ pub fn serve<T: BeaconChainTypes>(
38423842
current_slot,
38433843
&chain.spec,
38443844
) {
3845-
// Don't update custody info if we're advertising a
3846-
// false custody group count.
3847-
if network_globals
3848-
.config
3849-
.advertise_false_custody_group_count
3850-
.is_none()
3851-
{
3852-
chain.update_data_column_custody_info(Some(
3853-
cgc_change
3854-
.effective_epoch
3855-
.start_slot(T::EthSpec::slots_per_epoch()),
3856-
))
3857-
}
3845+
chain.update_data_column_custody_info(Some(
3846+
cgc_change
3847+
.effective_epoch
3848+
.start_slot(T::EthSpec::slots_per_epoch()),
3849+
));
3850+
38583851
network_tx.send(NetworkMessage::CustodyCountChanged {
38593852
new_custody_group_count: cgc_change.new_custody_group_count,
38603853
sampling_count: cgc_change.sampling_count,

0 commit comments

Comments
 (0)