Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NourAlharithi committed Nov 17, 2023
1 parent e97f319 commit 3a64d82
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/publishers/tradesPublisher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ const main = async () => {
),
maker: fill.maker?.toBase58(),
makerOrderId: fill.makerOrderId,
makerOrderDirection: getVariant(fill.makerOrderDirection),
makerOrderDirection: fill.makderOrderDirection
? getVariant(fill.makerOrderDirection)
: undefined,
makerOrderBaseAssetAmount: convertToNumber(
fill.makerOrderBaseAssetAmount,
BASE_PRECISION
Expand Down

0 comments on commit 3a64d82

Please sign in to comment.