Skip to content

Commit

Permalink
fix: function name
Browse files Browse the repository at this point in the history
  • Loading branch information
eloylp committed Jan 10, 2025
1 parent cc168e5 commit 66504ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ampd/src/solana/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub fn verify<F>(
match_context: &MatchContext,
tx: (&Signature, &UiTransactionStatusMeta),
message_id: &Base58SolanaTxSignatureAndEventIndex,
evens_are_equal: F,
events_are_equal: F,
) -> Vote
where
F: Fn(&GatewayEvent) -> bool,
Expand Down Expand Up @@ -120,7 +120,7 @@ where
.into_iter()
.find(|(idx, _)| *idx == desired_event_idx)
{
if evens_are_equal(&event) {
if events_are_equal(&event) {
// proxy the desired vote status of whether the ix succeeded
return vote;
}
Expand Down

0 comments on commit 66504ea

Please sign in to comment.