Skip to content

Commit

Permalink
unpublicize verify_commit_full and verify_commit_trusting (ref #136)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamsi committed Feb 10, 2020
1 parent 08c0684 commit 6bf0675
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tendermint/src/lite/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ where
/// NOTE: These validators are expected to be the correct validators for the commit,
/// but since we're using voting_power_in, we can't actually detect if there's
/// votes from validators not in the set.
pub fn verify_commit_full<C>(vals: &C::ValidatorSet, commit: &C) -> Result<(), Error>
fn verify_commit_full<C>(vals: &C::ValidatorSet, commit: &C) -> Result<(), Error>
where
C: Commit,
{
Expand All @@ -93,7 +93,7 @@ where
/// NOTE the given validators do not necessarily correspond to the validator set for this commit,
/// but there may be some intersection. The trust_level parameter allows clients to require more
/// than +1/3 by implementing the TrustLevel trait accordingly.
pub fn verify_commit_trusting<C, L>(
fn verify_commit_trusting<C, L>(
validators: &C::ValidatorSet,
commit: &C,
trust_level: L,
Expand Down

0 comments on commit 6bf0675

Please sign in to comment.