Skip to content

Commit

Permalink
remove redundant buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
nginnever committed Mar 29, 2016
1 parent 51463b9 commit 770b695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dag-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function DAGService (blockService) {
}

if (isPath) {
var ipfsKey = new Buffer(base58.decode(multihash.replace('/ipfs/', '')))
var ipfsKey = multihash.replace('/ipfs/', '')
this.getWith(ipfsKey, callback)
}
}
Expand Down

0 comments on commit 770b695

Please sign in to comment.