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

Commit 70ceaf5

Browse files
cr round 1
1 parent 888ea78 commit 70ceaf5

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const Store = require(interface-pull-blob-store') // in-memory store
7070
var repo = new IPFSRepo('example', { stores: Store })
7171
7272
// create a block
73-
const block = new Block('hello warld')
73+
const block = new Block('hello world)
7474
console.log(block.data)
7575
console.log(block.key)
7676

src/index.js

-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ module.exports = class BlockService {
5151
extension = undefined
5252
}
5353

54-
callback = callback || (() => {})
55-
5654
pull(
5755
this.getStream(key, extension),
5856
pull.collect((err, result) => {

0 commit comments

Comments
 (0)