There was an error while loading. Please reload this page.
1 parent e6f5a9a commit 6c2a728Copy full SHA for 6c2a728
1 file changed
crates/contract/src/lib.rs
@@ -5568,7 +5568,7 @@ mod tests {
5568
// to 4 participants would leave the GovernanceThreshold above the participant
5569
// count, breaking the threshold relation.
5570
let participants = gen_participants(PARTICIPANT_COUNT);
5571
- let parameters = ThresholdParameters::new(participants.clone(), Threshold::new(5)).unwrap();
+ let parameters = ThresholdParameters::new(participants.clone(), Threshold::new(PARTICIPANT_COUNT)).unwrap();
5572
let domain_id = DomainId::default();
5573
let domains = vec![DomainConfig {
5574
id: domain_id,
0 commit comments