Skip to content

Commit

Permalink
more review
Browse files Browse the repository at this point in the history
  • Loading branch information
arajasek committed Jun 29, 2022
1 parent f9cf25f commit 906463b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions chain/consensus/filcns/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -1483,13 +1483,8 @@ func LiteMigration(ctx context.Context, bstore blockstore.Blockstore, newActorsM
}

// load new manifest
var newManifest manifest.Manifest
if err := store.Get(ctx, newActorsManifestCid, &newManifest); err != nil {
return cid.Undef, xerrors.Errorf("error getting new manifest: %w", err)
}

// populate the entries field of the manifest
if err = newManifest.Load(ctx, store); err != nil {
newManifest, err := actors.LoadManifest(ctx, newActorsManifestCid, store)
if err != nil {
return cid.Undef, xerrors.Errorf("error loading new manifest: %w", err)
}

Expand Down

0 comments on commit 906463b

Please sign in to comment.