diff --git a/extern/storage-sealing/upgrade_queue.go b/extern/storage-sealing/upgrade_queue.go index bb7bccd13..e508facd0 100644 --- a/extern/storage-sealing/upgrade_queue.go +++ b/extern/storage-sealing/upgrade_queue.go @@ -44,6 +44,9 @@ func (m *Sealing) MarkForUpgrade(id abi.SectorNumber) error { } func (m *Sealing) tryUpgradeSector(ctx context.Context, params *miner.SectorPreCommitInfo) big.Int { + if len(params.DealIDs) == 0 { + return big.Zero() + } replace := m.maybeUpgradableSector() if replace != nil { loc, err := m.api.StateSectorPartition(ctx, m.maddr, *replace, nil)