Skip to content

Commit

Permalink
chore: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
roberts-pumpurs committed Jan 13, 2025
1 parent a5dff02 commit d26ec6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/solana-event-forwarder/src/component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ impl relayer_engine::RelayerComponent for SolanaEventForwarder {

enum GatewayOrGasEvent {
GatewayEvent(GatewayEvent),
GasEveent(GasServiceEvent),
GasEvent(GasServiceEvent),
}

#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)]
Expand Down Expand Up @@ -93,7 +93,7 @@ impl SolanaEventForwarder {
.map(|(idx, event)| (idx, GatewayOrGasEvent::GatewayEvent(event)));
let gas_events = keep_successful_events(gas_events_program_stack)
.into_iter()
.map(|(idx, event)| (idx, GatewayOrGasEvent::GasEveent(event)));
.map(|(idx, event)| (idx, GatewayOrGasEvent::GasEvent(event)));
let all_events = gateway_events_vec
.chain(gas_events)
.sorted_by(|event_a, event_b| event_a.0.cmp(&event_b.0));
Expand Down Expand Up @@ -165,7 +165,7 @@ impl SolanaEventForwarder {
}
}
}
GatewayOrGasEvent::GasEveent(evt) => {
GatewayOrGasEvent::GasEvent(evt) => {
// Other gas events that aren't combined
match evt {
GasServiceEvent::NativeGasAdded(evt) => {
Expand Down

0 comments on commit d26ec6d

Please sign in to comment.