Skip to content

Commit

Permalink
fix: syntax error in toReverse call
Browse files Browse the repository at this point in the history
Follow-up to 22b313e
  • Loading branch information
conorsch committed Nov 4, 2024
1 parent ccc386a commit 70b1bc3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/shared/api/server/book/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ export const processSimulation = ({
let cumulativeTotal = new BigNumber(0);
return invertPrice
? traces
.toReversed()
.map(trace => {
cumulativeTotal = cumulativeTotal.plus(trace.amount);
return {
Expand Down

0 comments on commit 70b1bc3

Please sign in to comment.