File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
beacon_node/network/src/sync/range_sync Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -120,21 +120,6 @@ where
120120 . finalized_epoch
121121 . start_slot ( T :: EthSpec :: slots_per_epoch ( ) ) ;
122122
123- // Prevent syncing from peers that had finalized an invalid chain on Holesky.
124- let non_finality_start_epoch = Epoch :: new ( 115969 ) ;
125- let possible_finality_start_epoch = Epoch :: new ( 116052 ) ;
126- if remote_info. finalized_epoch >= non_finality_start_epoch
127- && remote_info. finalized_epoch <= possible_finality_start_epoch
128- {
129- if !self . failed_chains . contains ( & remote_info. finalized_root ) {
130- self . failed_chains . insert ( remote_info. finalized_root ) ;
131- }
132- network. goodbye_peer ( peer_id, GoodbyeReason :: IrrelevantNetwork ) ;
133- debug ! ( self . log, "Disconnecting peer that belongs to a failed Holeksy chain" ;
134- "failed_root" => %remote_info. finalized_root, "peer_id" => %peer_id) ;
135- return ;
136- }
137-
138123 // NOTE: A peer that has been re-status'd may now exist in multiple finalized chains. This
139124 // is OK since we since only one finalized chain at a time.
140125
You can’t perform that action at this time.
0 commit comments