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

Commit e62cd6c

Browse files
author
Alan Shaw
committed
fix: remove erroneous base58 decode
License: MIT Signed-off-by: Alan Shaw <[email protected]>
1 parent a51e761 commit e62cd6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/object/get.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ module.exports = (send) => {
5353
result.Data = Buffer.from(result.Data, 'base64')
5454

5555
const links = result.Links.map((l) => {
56-
return new DAGLink(l.Name, l.Size, Buffer.from(bs58.decode(l.Hash)))
56+
return new DAGLink(l.Name, l.Size, l.Hash)
5757
})
5858

5959
DAGNode.create(result.Data, links, (err, node) => {

0 commit comments

Comments
 (0)