This commit is contained in:
Aayush Rajasekaran 2022-01-11 12:50:34 -05:00
parent 58edb1b15d
commit 1e24ef4d0d

View File

@ -1549,9 +1549,9 @@ var sectorsMarkForUpgradeCmd = &cli.Command{
if nv >= network.Version15 {
return xerrors.Errorf("classic cc upgrades disabled v15 and beyond, use `snap-up`")
}
// disable mark for upgrade two days before the ntwk v15 upgrade
// TODO: remove the following block in v1.15.1
// disable mark for upgrade two days before the ntwk v15 upgrade
// TODO: remove the following block in v1.15.1
head, err := api.ChainHead(ctx)
if err != nil {
return xerrors.Errorf("failed to get chain head: %w", err)