chore: fix two typo (#11670)

This commit is contained in:
tom123222 2024-03-05 06:07:14 +08:00 committed by GitHub
parent e84a61cc7d
commit 83cecdbd57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1695,14 +1695,14 @@ func upgradeActorsV10Common(
if stateRoot.Version != types.StateTreeVersion4 {
return cid.Undef, xerrors.Errorf(
"expected state root version 4 for actors v9 upgrade, got %d",
"expected state root version 4 for actors v10 upgrade, got %d",
stateRoot.Version,
)
}
manifest, ok := actors.GetManifest(actorstypes.Version10)
if !ok {
return cid.Undef, xerrors.Errorf("no manifest CID for v9 upgrade")
return cid.Undef, xerrors.Errorf("no manifest CID for v10 upgrade")
}
// Perform the migration