diff --git a/coordinator/tributary/src/tendermint/tx.rs b/coordinator/tributary/src/tendermint/tx.rs index 5f5102d3..8af40708 100644 --- a/coordinator/tributary/src/tendermint/tx.rs +++ b/coordinator/tributary/src/tendermint/tx.rs @@ -12,7 +12,7 @@ use crate::{ }; use tendermint::{ - verify_tendermint_evience, + verify_tendermint_evidence, ext::{Network, Commit}, }; @@ -68,7 +68,7 @@ pub(crate) fn verify_tendermint_tx( tx.verify()?; match tx { - TendermintTx::SlashEvidence(ev) => verify_tendermint_evience::(ev, schema, commit) + TendermintTx::SlashEvidence(ev) => verify_tendermint_evidence::(ev, schema, commit) .map_err(|_| TransactionError::InvalidContent)?, } diff --git a/coordinator/tributary/tendermint/src/lib.rs b/coordinator/tributary/tendermint/src/lib.rs index adc6fef7..1d3765aa 100644 --- a/coordinator/tributary/tendermint/src/lib.rs +++ b/coordinator/tributary/tendermint/src/lib.rs @@ -158,7 +158,7 @@ fn decode_and_verify_signed_message( Ok(msg) } -pub fn verify_tendermint_evience( +pub fn verify_tendermint_evidence( evidence: &Evidence, schema: &N::SignatureScheme, commit: impl Fn(u64) -> Option>,