Skip to content

Commit 8697e2f

Browse files
authored
Merge pull request #2677 from acoglio/doc-starting-round
[Doc] Clarify starting round of committee.
2 parents 0face8c + afe4e9c commit 8697e2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ledger/committee/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pub const MAX_DELEGATORS: u32 = 100_000u32;
5050
pub struct Committee<N: Network> {
5151
/// The committee ID, defined as the hash of the starting round, members, and total stake.
5252
id: Field<N>,
53-
/// The starting round number for this committee.
53+
/// The round number (of the block) at which this committee was created (always even).
5454
starting_round: u64,
5555
/// A map of `address` to `(stake, is_open, commission)` state.
5656
members: IndexMap<Address<N>, (u64, bool, u8)>,
@@ -110,7 +110,7 @@ impl<N: Network> Committee<N> {
110110
self.id
111111
}
112112

113-
/// Returns the starting round number for this committee.
113+
/// Returns the round number (of the block) at which this committee was created (always even).
114114
pub const fn starting_round(&self) -> u64 {
115115
self.starting_round
116116
}

0 commit comments

Comments
 (0)