Skip to content

Commit

Permalink
switch back to jito by default
Browse files Browse the repository at this point in the history
  • Loading branch information
outsmartchad committed Aug 22, 2024
1 parent 8880f4b commit 611f8ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/raydium/Pool/swap.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,8 @@ async function swap(
if (usage == "volume") {
return await swapOnlyAmm(input);
}
//swapOnlyAmmHelper(input); // using jito
swapOnlyAmmUsingBloXRoute(input); // using bloXroute
swapOnlyAmmHelper(input); // using jito
//swapOnlyAmmUsingBloXRoute(input); // using bloXroute
} else {
// sell
const { tokenName, tokenSymbol } = await getTokenMetadata(tokenAddress);
Expand Down Expand Up @@ -422,8 +422,8 @@ async function swap(
if (usage == "volume") {
return await swapOnlyAmm(input);
}
//swapOnlyAmmHelper(input); // using Jito
swapOnlyAmmUsingBloXRoute(input); // using bloXroute
swapOnlyAmmHelper(input); // using Jito
//swapOnlyAmmUsingBloXRoute(input); // using bloXroute
}
}

Expand Down

0 comments on commit 611f8ea

Please sign in to comment.