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

Commit 5f669b7

Browse files
committed
Fixes getBlocks: was never working.
1 parent f6abb63 commit 5f669b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/block-service.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ function BlockService (ipfsRepo, exchange) {
5858
this.getBlock(multihash, extension, (err, block) => {
5959
if (err) { return next(err) }
6060
blocks.push(block)
61+
next()
6162
})
6263
}, (err) => {
6364
callback(err, blocks)

0 commit comments

Comments
 (0)