Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

Commit

Permalink
Fix fill value indexing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cbovis committed Oct 6, 2020
1 parent fa45476 commit 1f0939a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/consumers/index-fill-value.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ const indexFillValue = async (job, { logger }) => {

const fill = await getModel('Fill')
.findOne({ _id: fillId })
.populate([
{ path: 'takerMetadata', select: 'isContract' },
{ path: 'transaction', select: 'from' },
])
.lean();

if (fill === null) {
Expand Down

0 comments on commit 1f0939a

Please sign in to comment.