Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 6a154dc

Browse files
Ryan Belldaviddias
Ryan Bell
authored andcommitted
Update README.md (#159)
Fixed typo.
1 parent 204a3aa commit 6a154dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

API/block/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ If no `callback` is passed, a promise is returned.
7575
// Defaults
7676
const buf = new Buffer('a serialized object')
7777

78-
ipfs.block.put(blob, (err, block) => {
78+
ipfs.block.put(buf, (err, block) => {
7979
if (err) { throw err }
8080
// Block has been stored
8181

0 commit comments

Comments
 (0)