Merge pull request #9428 from filecoin-project/backport/9402
fix: renew --only-cc with sectorfile
This commit is contained in:
commit
4d7eddc52c
@ -918,6 +918,9 @@ var sectorsRenewCmd = &cli.Command{
|
||||
}
|
||||
|
||||
si, found := activeSectorsInfo[abi.SectorNumber(id)]
|
||||
if len(si.DealIDs) > 0 && cctx.Bool("only-cc") {
|
||||
continue
|
||||
}
|
||||
if !found {
|
||||
return xerrors.Errorf("sector %d is not active", id)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user