Skip to content

Commit

Permalink
Merge pull request #5217 from shaodan/skip-check-terminated
Browse files Browse the repository at this point in the history
Skip checking terminated sectors provable
  • Loading branch information
magik6k authored Jan 5, 2021
2 parents 44a56c7 + fda3b15 commit f806822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lotus-storage-miner/proving.go
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ var provingCheckProvableCmd = &cli.Command{
for parIdx, par := range partitions {
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 {
return err
}
Expand Down

0 comments on commit f806822

Please sign in to comment.