remove stale TODO comment
This commit is contained in:
parent
45392a2696
commit
a694bb898d
@ -18,10 +18,7 @@ import (
|
|||||||
"github.com/filecoin-project/lotus/chain/actors/adt"
|
"github.com/filecoin-project/lotus/chain/actors/adt"
|
||||||
)
|
)
|
||||||
|
|
||||||
var manifestCids map[Version]cid.Cid = map[Version]cid.Cid{
|
var manifestCids map[Version]cid.Cid
|
||||||
// TODO fill in manifest CIDs for v8 and upwards once these are fixed
|
|
||||||
}
|
|
||||||
|
|
||||||
var manifests map[Version]*manifest.Manifest
|
var manifests map[Version]*manifest.Manifest
|
||||||
var actorMeta map[cid.Cid]actorEntry
|
var actorMeta map[cid.Cid]actorEntry
|
||||||
|
|
||||||
@ -52,6 +49,10 @@ func AddManifest(av Version, manifestCid cid.Cid) {
|
|||||||
manifestMx.Lock()
|
manifestMx.Lock()
|
||||||
defer manifestMx.Unlock()
|
defer manifestMx.Unlock()
|
||||||
|
|
||||||
|
if manifestCids == nil {
|
||||||
|
manifestCids = make(map[Version]cid.Cid)
|
||||||
|
}
|
||||||
|
|
||||||
manifestCids[av] = manifestCid
|
manifestCids[av] = manifestCid
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user