Skip to content

Commit

Permalink
Fix bigint max
Browse files Browse the repository at this point in the history
  • Loading branch information
xbtmatt committed Nov 28, 2024
1 parent c6b862e commit 7586f55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/typescript/sdk/tests/e2e/queries/price-feed.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ describe("queries price_feed and returns accurate price feed data", () => {
)
);

const maxVersion = [
const maxVersion = maxBigInt(
...results.map(({ closeSwap }) => closeSwap.model.transaction.version),
...results.map(({ openSwap }) => openSwap.model.transaction.version),
];
);

const maxTransactionVersion = maxBigInt(
...results.map(({ closeSwap }) => closeSwap.model.transaction.version)
Expand Down

0 comments on commit 7586f55

Please sign in to comment.