Skip to content

Commit

Permalink
Merge pull request #508 from eoscostarica/fix/wrong-missed-blocks
Browse files Browse the repository at this point in the history
fix wrong missed blocks
  • Loading branch information
xavier506 authored May 20, 2021
2 parents d0e9bdb + 2263b18 commit 5bd69e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hapi/src/services/missed-blocks.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const getBlocksInRange = async (start, end) => {
FROM
block_history
WHERE
"timestamp" BETWEEN '${start}' AND '${end}'
"timestamp" BETWEEN '${start.toISOString()}' AND '${end.toISOString()}'
AND producer <> ''`)

return rows.map(row => ({
Expand Down

0 comments on commit 5bd69e6

Please sign in to comment.