From 70b1bc3a5520b0f81bc1b9ba0cc0cfaf99417d87 Mon Sep 17 00:00:00 2001 From: Conor Schaefer Date: Mon, 4 Nov 2024 11:28:10 -0800 Subject: [PATCH] fix: syntax error in toReverse call Follow-up to 22b313e0f0fb410b974942bc8e0c7bd09cc70c19 --- src/shared/api/server/book/helpers.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/shared/api/server/book/helpers.ts b/src/shared/api/server/book/helpers.ts index 9ed8e4ce..f574c2e4 100644 --- a/src/shared/api/server/book/helpers.ts +++ b/src/shared/api/server/book/helpers.ts @@ -120,7 +120,6 @@ export const processSimulation = ({ let cumulativeTotal = new BigNumber(0); return invertPrice ? traces - .toReversed() .map(trace => { cumulativeTotal = cumulativeTotal.plus(trace.amount); return {