Skip to content

Commit ba85de4

Browse files
dizer-titwittner
andauthored
Update sailfish-consensus/src/lib.rs
Co-authored-by: Toralf Wittner <[email protected]>
1 parent f1e9794 commit ba85de4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sailfish-consensus/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,8 @@ where
11111111
/// It is defined as the quorum of committed round numbers of the committee
11121112
/// minus an extra margin to avoid overly aggressive cleanup.
11131113
fn lower_round_bound(&self) -> RoundNumber {
1114-
(*self.nodes.quorum())
1114+
self.nodes
1115+
.quorum()
11151116
.saturating_sub(self.committee.quorum_size().get() as u64)
11161117
.into()
11171118
}

0 commit comments

Comments
 (0)