File tree 1 file changed +1
-13
lines changed
1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -1287,26 +1287,14 @@ impl Node {
1287
1287
ibs
1288
1288
}
1289
1289
1290
- fn select_ebs_for_eb ( & mut self , slot : u64 ) -> Vec < EndorserBlockId > {
1290
+ fn select_ebs_for_eb ( & self , slot : u64 ) -> Vec < EndorserBlockId > {
1291
1291
let Some ( referenced_slots) = self . slots_referenced_by_ebs ( slot) else {
1292
1292
return vec ! [ ] ;
1293
1293
} ;
1294
1294
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
-
1303
1295
// include one certified EB from each of these pipelines
1304
1296
let mut ebs = vec ! [ ] ;
1305
1297
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
- }
1310
1298
if let Some ( eb) = self . choose_endorsed_block_from_slot ( pipeline_slot) {
1311
1299
ebs. push ( eb) ;
1312
1300
}
You can’t perform that action at this time.
0 commit comments