Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
danimhr committed Jan 17, 2025
1 parent 9355c8f commit 23eb5f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions auction-server/src/opportunity/entities/opportunity_svm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ impl From<api::OpportunityCreateSvm> for OpportunityCreateSvm {

OpportunityCreateSvm {
core_fields: OpportunityCoreFieldsCreate::<TokenAmountSvm> {
permission_key: get_perission_key(
permission_key: get_permission_key(
bid_instruction_type,
params.router,
params.permission_account,
Expand Down Expand Up @@ -405,7 +405,7 @@ impl From<OpportunitySvm> for OpportunityCreateSvm {
}
}

fn get_perission_key(
fn get_permission_key(
bid_type: BidPaymentInstructionType,
router: Pubkey,
permission_account: Pubkey,
Expand All @@ -431,7 +431,7 @@ impl OpportunitySvm {
router: Pubkey,
permission_account: Pubkey,
) -> PermissionKey {
get_perission_key(bid_type, router, permission_account)
get_permission_key(bid_type, router, permission_account)
}
}

Expand Down

0 comments on commit 23eb5f7

Please sign in to comment.