Merge pull request #5217 from shaodan/skip-check-terminated

Skip checking terminated sectors provable
This commit is contained in:
Łukasz Magiera 2021-01-05 18:39:29 +01:00 committed by GitHub
commit f806822440
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -446,7 +446,7 @@ var provingCheckProvableCmd = &cli.Command{
for parIdx, par := range partitions { for parIdx, par := range partitions {
sectors := make(map[abi.SectorNumber]struct{}) sectors := make(map[abi.SectorNumber]struct{})
sectorInfos, err := api.StateMinerSectors(ctx, addr, &par.AllSectors, types.EmptyTSK) sectorInfos, err := api.StateMinerSectors(ctx, addr, &par.LiveSectors, types.EmptyTSK)
if err != nil { if err != nil {
return err return err
} }