minor tweak

This commit is contained in:
vyzo 2021-07-06 09:17:35 +03:00
parent 169ab262f5
commit c4ae3e0c3d

View File

@ -1349,6 +1349,7 @@ func (s *SplitStore) getObjectWeight(c cid.Cid, weights map[string]int, key func
return 1 return 1
} }
w = 1
for _, c := range links { for _, c := range links {
// these are internal refs, so dags will be dags // these are internal refs, so dags will be dags
if c.Prefix().Codec != cid.DagCBOR { if c.Prefix().Codec != cid.DagCBOR {