Skip to content

Commit

Permalink
update doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
liamsi committed Jan 28, 2020
1 parent ed754a7 commit cf28563
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tendermint/src/lite/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ pub trait Commit: Clone {
/// can be cross-referenced with the given `vals`.
fn voting_power_in(&self, vals: &Self::ValidatorSet) -> Result<u64, Error>;

/// Implementers should add addition validation related to the given validator set
/// Implementers should add addition validation against the given validator set
/// or other implementation specific validation here.
/// Examples might include that the length of the included signatures match with
/// the number of validators.
/// E.g. validate that the length of the included signatures in the commit match
/// with the number of validators.
fn validate(&self, vals: &Self::ValidatorSet) -> Result<(), Error>;
}

Expand Down

0 comments on commit cf28563

Please sign in to comment.