fix: upgrades: correct error message for v16 migration

This commit is contained in:
Aayush Rajasekaran 2022-05-10 11:36:12 -04:00 committed by GitHub
parent 1814187578
commit fbcd4c7a6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1334,7 +1334,7 @@ func UpgradeActorsV8(ctx context.Context, sm *stmgr.StateManager, cache stmgr.Mi
newRoot, err := upgradeActorsV8Common(ctx, sm, cache, root, epoch, ts, config)
if err != nil {
return cid.Undef, xerrors.Errorf("migrating actors v6 state: %w", err)
return cid.Undef, xerrors.Errorf("migrating actors v7 state: %w", err)
}
return newRoot, nil