@@ -3774,14 +3774,12 @@ pub fn serve<T: BeaconChainTypes>(
3774
3774
. and ( network_tx_filter. clone ( ) )
3775
3775
. and ( task_spawner_filter. clone ( ) )
3776
3776
. and ( chain_filter. clone ( ) )
3777
- . and ( network_globals. clone ( ) )
3778
3777
. and ( warp_utils:: json:: json ( ) )
3779
3778
. then (
3780
3779
|not_synced_filter : Result < ( ) , Rejection > ,
3781
3780
network_tx : UnboundedSender < NetworkMessage < T :: EthSpec > > ,
3782
3781
task_spawner : TaskSpawner < T :: EthSpec > ,
3783
3782
chain : Arc < BeaconChain < T > > ,
3784
- network_globals : Arc < NetworkGlobals < T :: EthSpec > > ,
3785
3783
preparation_data : Vec < ProposerPreparationData > | {
3786
3784
task_spawner. spawn_async_with_rejection ( Priority :: P0 , async move {
3787
3785
not_synced_filter?;
@@ -3842,19 +3840,12 @@ pub fn serve<T: BeaconChainTypes>(
3842
3840
current_slot,
3843
3841
& chain. spec ,
3844
3842
) {
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
- }
3843
+ chain. update_data_column_custody_info ( Some (
3844
+ cgc_change
3845
+ . effective_epoch
3846
+ . start_slot ( T :: EthSpec :: slots_per_epoch ( ) ) ,
3847
+ ) ) ;
3848
+
3858
3849
network_tx. send ( NetworkMessage :: CustodyCountChanged {
3859
3850
new_custody_group_count : cgc_change. new_custody_group_count ,
3860
3851
sampling_count : cgc_change. sampling_count ,
0 commit comments