Skip to content

Commit

Permalink
Update comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrm50 committed Feb 26, 2025
1 parent 86101e2 commit ba8287e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions consensus/core/src/dag_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,9 @@ impl DagState {
blocks.first().cloned().unwrap()
}

/// Retrieves the last block proposed for the specified `authority`. If no
/// block is found in cache Gets the last proposed block from this
/// authority. If no block is proposed yet, returns the genesis block.
/// Gets the last proposed block from this authority.
/// If no block is proposed yet, returns the genesis block.
pub(crate) fn get_last_proposed_block(&self) -> VerifiedBlock {
self.get_last_block_for_authority(self.context.own_index)
}
Expand Down

0 comments on commit ba8287e

Please sign in to comment.