Skip to content

Commit

Permalink
remove default partner
Browse files Browse the repository at this point in the history
  • Loading branch information
Velenir committed Nov 12, 2024
1 parent 6535106 commit 68cb246
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/methods/swap/helpers/normalizeRateOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ type NormalizedRateOptions<
Partial<Omit<O, StringArrKeys | 'partner'>> &
Omit<T, 'options'>;

const DEFAULT_PARTNER = 'paraswap.io';

export function normalizeRateOptions<
O extends MinRateOptionsInput,
T extends { options?: Partial<O> }
Expand All @@ -23,7 +21,7 @@ export function normalizeRateOptions<
excludePricingMethods,
excludeContractMethods,
includeContractMethods,
partner = DEFAULT_PARTNER,
partner,
includeDEXS,
excludeDEXS,
excludePools,
Expand Down

0 comments on commit 68cb246

Please sign in to comment.