This commit is contained in:
Aayush Rajasekaran 2022-01-11 12:50:34 -05:00 committed by Jennifer Wang
parent 0626330d44
commit e4cb68e05d

View File

@ -1550,6 +1550,8 @@ var sectorsMarkForUpgradeCmd = &cli.Command{
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
head, err := api.ChainHead(ctx)
if err != nil {
return xerrors.Errorf("failed to get chain head: %w", err)