From 97bfb183e80a512075daf53a886aa2c0896d38db Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sun, 14 Jul 2024 19:35:43 -0400 Subject: [PATCH] Correct typo in coordinator Identified by akil a while ago. --- coordinator/tributary/src/tendermint/tx.rs | 4 ++-- coordinator/tributary/tendermint/src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/coordinator/tributary/src/tendermint/tx.rs b/coordinator/tributary/src/tendermint/tx.rs index 5f5102d31..8af407081 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 adc6fef7f..1d3765aa9 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>,