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

Commit

Permalink
Fixes getBlocks: was never working.
Browse files Browse the repository at this point in the history
  • Loading branch information
hackergrrl committed Apr 15, 2016
1 parent f6abb63 commit 5f669b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/block-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ function BlockService (ipfsRepo, exchange) {
this.getBlock(multihash, extension, (err, block) => {
if (err) { return next(err) }
blocks.push(block)
next()
})
}, (err) => {
callback(err, blocks)
Expand Down

0 comments on commit 5f669b7

Please sign in to comment.