Skip to content

Commit

Permalink
Merge pull request #21 from drift-labs/master
Browse files Browse the repository at this point in the history
trades publisher bug fix
  • Loading branch information
NourAlharithi authored Nov 17, 2023
2 parents 37b991b + 3a64d82 commit 63c94bd
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 63c94bd

Please sign in to comment.