File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -1287,26 +1287,14 @@ impl Node {
12871287 ibs
12881288 }
12891289
1290- fn select_ebs_for_eb ( & mut self , slot : u64 ) -> Vec < EndorserBlockId > {
1290+ fn select_ebs_for_eb ( & self , slot : u64 ) -> Vec < EndorserBlockId > {
12911291 let Some ( referenced_slots) = self . slots_referenced_by_ebs ( slot) else {
12921292 return vec ! [ ] ;
12931293 } ;
12941294
1295- let slots_with_ebs_already_referenced = self
1296- . praos
1297- . blocks
1298- . values ( )
1299- . filter_map ( |b| b. endorsement . as_ref ( ) )
1300- . map ( |e| e. eb . slot )
1301- . collect :: < HashSet < _ > > ( ) ;
1302-
13031295 // include one certified EB from each of these pipelines
13041296 let mut ebs = vec ! [ ] ;
13051297 for pipeline_slot in referenced_slots {
1306- // An EB from this pipeline has already been referenced. Don't include another.
1307- if slots_with_ebs_already_referenced. contains ( & pipeline_slot) {
1308- continue ;
1309- }
13101298 if let Some ( eb) = self . choose_endorsed_block_from_slot ( pipeline_slot) {
13111299 ebs. push ( eb) ;
13121300 }
You can’t perform that action at this time.
0 commit comments