diff --git a/configuration/config.py b/configuration/config.py index 177da59..221e8ea 100644 --- a/configuration/config.py +++ b/configuration/config.py @@ -240,7 +240,7 @@ def f(n, g): # Determine the number of states if self.num_parties < 2: raise ValueError('The simulation needs at least two states') - if self.num_parties >= 2: + else: self.all_states = generate_state_labels(self.num_parties) self.zealot_state = self.all_states[0] self.not_zealot_state = self.all_states[-1]