File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
beacon_node/eth2_libp2p/src/behaviour Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -333,8 +333,7 @@ impl<TSpec: EthSpec> PeerScoreSettings<TSpec> {
333333 t_params. mesh_message_deliveries_window =
334334 Duration :: from_secs ( MESH_MESSAGE_DELIVERIES_WINDOW ) ;
335335 t_params. mesh_failure_penalty_decay = t_params. mesh_message_deliveries_decay ;
336- t_params. mesh_message_deliveries_weight = -self . max_positive_score
337- / ( t_params. topic_weight * t_params. mesh_message_deliveries_threshold . powi ( 2 ) ) ;
336+ t_params. mesh_message_deliveries_weight = -t_params. topic_weight ;
338337 t_params. mesh_failure_penalty_weight = t_params. mesh_message_deliveries_weight ;
339338 if decay_slots >= current_slot. as_u64 ( ) {
340339 t_params. mesh_message_deliveries_threshold = 0.0 ;
You can’t perform that action at this time.
0 commit comments