Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
plafer committed Oct 24, 2022
1 parent 233e5f4 commit 7c4888a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tendermint/src/trust_threshold.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl TrustThresholdFraction {
/// Instantiate a TrustThresholdFraction if the given denominator and
/// numerator are valid.
///
/// The parameters are valid iff `1/3 <= numerator/denominator < 1`.
/// The parameters are valid iff `1/3 <= numerator/denominator <= 1`.
/// In any other case we return an error.
pub fn new(numerator: u64, denominator: u64) -> Result<Self, Error> {
if numerator > denominator {
Expand Down

0 comments on commit 7c4888a

Please sign in to comment.