We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 386ebe4 commit a8ee15aCopy full SHA for a8ee15a
simulator/src/main/java/byzzbench/simulator/faults/factories/ByzzFuzzScenarioFaultFactory.java
@@ -50,7 +50,7 @@ public List<Fault> generateFaults(FaultContext input) {
50
// Create process faults
51
for (int i = 1; i <= c; i++) {
52
int round = rand.nextInt(r) + 1;
53
- String sender = input.getScenario().getFaultyReplicaIds().stream().skip(rand.nextInt(faultyReplicaIds.size())).findFirst().orElseThrow();
+ String sender = faultyReplicaIds.stream().skip(rand.nextInt(faultyReplicaIds.size())).findFirst().orElseThrow();
54
Set<String> recipientIds = SetSubsets.getRandomNonEmptySubset(replicaIds);
55
56
// generate process fault
0 commit comments