Skip to content

Commit

Permalink
v13 migration: nit: drop redundant check (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
arajasek authored Mar 21, 2024
1 parent 2fe2380 commit cc947f3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions builtin/v13/migration/top.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ func MigrateStateTree(ctx context.Context, store cbor.IpldStore, newManifestCID

migrations[systemActor.Code] = systemActorMigrator{OutCodeCID: newSystemCodeCID, ManifestData: newManifest.Data}

if len(migrations)+len(deferredCodeIDs) != len(oldManifestData.Entries) {
return cid.Undef, xerrors.Errorf("incomplete migration specification with %d code CIDs, need %d", len(migrations), len(oldManifestData.Entries))
}

// Miner actors
miner13Cid, ok := newManifest.Get(manifest.MinerKey)
if !ok {
Expand Down

0 comments on commit cc947f3

Please sign in to comment.