Skip to content

Commit

Permalink
testing something
Browse files Browse the repository at this point in the history
  • Loading branch information
anihamde committed Nov 29, 2024
1 parent 204b031 commit 985a4dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/dex-router/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Want to help us make this template better? Share your feedback here: https://forms.gle/ybq9Krt8jtBL3iCk7

ARG NODE_VERSION=23.1.0
ARG NODE_VERSION=18.20.2

################################################################################
# Use node image for base image for all stages.
Expand Down
5 changes: 4 additions & 1 deletion scripts/dex-router/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -437,13 +437,16 @@ const argv = yargs(hideBin(process.argv))
.parseSync();

async function run() {
console.log(`version 9`);
console.log(`version 10`);
const maxaccs = argv["options-max-accounts-jupiter"].map((maxAccounts) =>
Number(maxAccounts)
);
console.log("Node.js version:", process.version);
console.log(`maxaccs: ${maxaccs}`);
console.log(`argv maxaccs: ${argv["options-max-accounts-jupiter"]}`);
if (!Array.isArray(maxaccs)) {
throw new Error("maxaccs is not an array");
}

const connection = new Connection(argv["endpoint-svm"], "confirmed");
const dexRouter = new DexRouter(
Expand Down

0 comments on commit 985a4dd

Please sign in to comment.