mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-03 09:29:46 +00:00
Correct typo in coordinator
Identified by akil a while ago.
This commit is contained in:
parent
85fc31fd82
commit
97bfb183e8
2 changed files with 3 additions and 3 deletions
|
@ -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<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)?,
|
||||
}
|
||||
|
||||
|
|
|
@ -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>>,
|
||||
|
|
Loading…
Reference in a new issue