Skip to content

Commit

Permalink
Correct typo in coordinator
Browse files Browse the repository at this point in the history
Identified by akil a while ago.
  • Loading branch information
kayabaNerve committed Jul 14, 2024
1 parent 85fc31f commit 97bfb18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions coordinator/tributary/src/tendermint/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use crate::{
};

use tendermint::{
verify_tendermint_evience,
verify_tendermint_evidence,
ext::{Network, Commit},
};

Expand Down Expand Up @@ -68,7 +68,7 @@ pub(crate) fn verify_tendermint_tx<N: Network>(
tx.verify()?;

match tx {
TendermintTx::SlashEvidence(ev) => verify_tendermint_evience::<N>(ev, schema, commit)
TendermintTx::SlashEvidence(ev) => verify_tendermint_evidence::<N>(ev, schema, commit)
.map_err(|_| TransactionError::InvalidContent)?,
}

Expand Down
2 changes: 1 addition & 1 deletion coordinator/tributary/tendermint/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ fn decode_and_verify_signed_message<N: Network>(
Ok(msg)
}

pub fn verify_tendermint_evience<N: Network>(
pub fn verify_tendermint_evidence<N: Network>(
evidence: &Evidence,
schema: &N::SignatureScheme,
commit: impl Fn(u64) -> Option<Commit<N::SignatureScheme>>,
Expand Down

0 comments on commit 97bfb18

Please sign in to comment.