Skip to content

Commit

Permalink
fix: rename variable in psp.js (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
parth-15 authored Mar 7, 2024
1 parent 744e1ee commit ac087c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/psp.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ async function main(from, to, method, amount, user) {
return;
}
// distinguish between exactOut and exactInOutMethod
const preferredMethods =
const includeContractMethods =
method === "SELL"
? [ContractMethod.multiSwap, ContractMethod.megaSwap]
: [ContractMethod.buy];
Expand All @@ -113,7 +113,7 @@ async function main(from, to, method, amount, user) {
...(MAX
? {
options: {
includeContractMethods: [...preferredMethods],
includeContractMethods: [...includeContractMethods],
},
}
: {}),
Expand Down

0 comments on commit ac087c4

Please sign in to comment.