Skip to content

Commit 770b695

Browse files
committed
remove redundant buffer
1 parent 51463b9 commit 770b695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dag-service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function DAGService (blockService) {
3838
}
3939

4040
if (isPath) {
41-
var ipfsKey = new Buffer(base58.decode(multihash.replace('/ipfs/', '')))
41+
var ipfsKey = multihash.replace('/ipfs/', '')
4242
this.getWith(ipfsKey, callback)
4343
}
4444
}

0 commit comments

Comments
 (0)