Commit fa995d36 authored by hannahhoward's avatar hannahhoward

Convert formatting in hamt links to remove bit prefix

parent 87012196
...@@ -469,7 +469,13 @@ func makeAsyncTrieGetLinks(dagService ipld.DAGService, linkResults chan<- format ...@@ -469,7 +469,13 @@ func makeAsyncTrieGetLinks(dagService ipld.DAGService, linkResults chan<- format
if lnkLinkType == shardLink { if lnkLinkType == shardLink {
childShards = append(childShards, lnk) childShards = append(childShards, lnk)
} else { } else {
emitResult(ctx, linkResults, format.LinkResult{Link: lnk, Err: nil}) sv, err := directoryShard.makeShardValue(lnk)
if err != nil {
return nil, err
}
formattedLink := sv.val
formattedLink.Name = sv.key
emitResult(ctx, linkResults, format.LinkResult{Link: formattedLink, Err: nil})
} }
} }
return childShards, nil return childShards, nil
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment