Skip to content

Commit

Permalink
Fix blocks dao bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pshenmic committed Oct 12, 2023
1 parent 98ebaee commit 11e7c94
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/api/src/dao/BlocksDAO.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ module.exports = class BlockDAO {
return acc
}, [])

if (!block.length) {
return null
}

return Block.fromRow({header: block, txs});
}

Expand Down

0 comments on commit 11e7c94

Please sign in to comment.