mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-23 21:47:52 +08:00
Fix refs -r -u for #1211
License: MIT Signed-off-by: Gaetan Voyer-Perrault <gatesvp@gmail.com>
This commit is contained in:

committed by
Juan Batiz-Benet

parent
a5521fcc76
commit
8fe7d2f571
@ -232,10 +232,6 @@ func (rw *RefWriter) writeRefsRecursive(n *dag.Node) (int, error) {
|
||||
return 0, err
|
||||
}
|
||||
|
||||
if rw.skip(nkey) {
|
||||
return 0, nil
|
||||
}
|
||||
|
||||
var count int
|
||||
for i, ng := range rw.DAG.GetDAG(rw.Ctx, n) {
|
||||
lk := key.Key(n.Links[i].Hash)
|
||||
|
Reference in New Issue
Block a user