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

Commit

Permalink
Fix the fetching of fill dates (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbovis authored Nov 14, 2019
1 parent 5eccfc4 commit 034482f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jobs/create-fills/create-fill.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const createFill = async event => {
const { data, protocolVersion } = event;
const { args, blockHash, blockNumber, logIndex, transactionHash } = data;

const block = await getBlockOrThrow();
const block = await getBlockOrThrow(blockHash);
const date = new Date(block.timestamp * 1000);

const {
Expand Down

0 comments on commit 034482f

Please sign in to comment.