Skip to content

Commit 1b6d33a

Browse files
committedJan 23, 2025
Merge remote-tracking branch 'origin/main' into hBFT-reproducing-known-violation
2 parents efa5482 + 386ebe4 commit 1b6d33a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎simulator/src/main/java/byzzbench/simulator/scheduler/twins/TwinsScheduler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public String getId() {
4747
@Override
4848
public void initializeScenario(Scenario scenario) {
4949
// Get the IDs of the replicas
50-
List<String> replicaIds = scenario.getReplicas().keySet().stream().sorted().toList();
50+
List<String> replicaIds = scenario.getFaultyReplicaIds().stream().toList();
5151

5252
if (replicaIds.size() < numReplicas) {
5353
throw new IllegalArgumentException("Not enough replicas to create " + numReplicas + " twins");

0 commit comments

Comments
 (0)
Please sign in to comment.