We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae042ce commit 29f1185Copy full SHA for 29f1185
consensus/src/extension/extender.rs
@@ -122,7 +122,10 @@ mod test {
122
assert!(batch.len() == threshold.0 || batch.len() == n_members.0);
123
if batch.len() == n_members.0 {
124
// the batch that should have ancient unit
125
- assert!(batch.iter().find(|&unit| unit.parents().count() == 0).is_some());
+ assert!(batch
126
+ .iter()
127
+ .find(|&unit| unit.parents().count() == 0)
128
+ .is_some());
129
}
130
131
0 commit comments