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

Commit 6779e25

Browse files
committed
Updates README.
1 parent 6ae98a1 commit 6779e25

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ Asynchronously adds an array of block instances to the underlying repo.
151151
Asynchronously returns the block whose content multihash matches `multihash`.
152152
Returns an error (`err.code === 'ENOENT'`) if the block does not exist.
153153

154+
If the block could not be found, expect `err.code` to be `'ENOENT'`.
155+
154156
#### bs.getBlocks(multihashes, callback(err, blocks))
155157

156158
Asynchronously returns the blocks whose content multihashes match the array

0 commit comments

Comments
 (0)