From fda3b152bdacf694980e382cc7218c46a2d0da07 Mon Sep 17 00:00:00 2001 From: Dan Shao Date: Thu, 17 Dec 2020 20:03:09 +0800 Subject: [PATCH] Skip checking terminated sectors provable --- cmd/lotus-storage-miner/proving.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus-storage-miner/proving.go b/cmd/lotus-storage-miner/proving.go index 5d176a754f1..6f379e99c93 100644 --- a/cmd/lotus-storage-miner/proving.go +++ b/cmd/lotus-storage-miner/proving.go @@ -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 }