Skip to content

Commit 6af9965

Browse files
committed
sim-rs: only try voting once per stage
1 parent 6cdec07 commit 6af9965

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sim-rs/sim-core/src/sim/node.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -523,10 +523,10 @@ impl Node {
523523

524524
// Decide how many IBs to generate in each slot.
525525
self.schedule_input_block_generation(slot);
526-
}
527526

528-
// Vote for any EBs which satisfy all requirements.
529-
self.vote_for_endorser_blocks(slot);
527+
// Vote for any EBs which satisfy all requirements.
528+
self.vote_for_endorser_blocks(slot);
529+
}
530530

531531
// Generate any IBs scheduled for this slot.
532532
self.generate_input_blocks(slot);

0 commit comments

Comments
 (0)