From f5401317c97a6464c6ffd59f09395c1fbfe3eefc Mon Sep 17 00:00:00 2001 From: zgfzgf <1901989065@qq.com> Date: Tue, 10 Nov 2020 17:37:36 +0800 Subject: [PATCH] cmd sectors commitIDs len --- cmd/lotus-storage-miner/sectors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus-storage-miner/sectors.go b/cmd/lotus-storage-miner/sectors.go index e2e94cf69..37eb06284 100644 --- a/cmd/lotus-storage-miner/sectors.go +++ b/cmd/lotus-storage-miner/sectors.go @@ -210,7 +210,7 @@ var sectorsListCmd = &cli.Command{ if err != nil { return err } - commitedIDs := make(map[abi.SectorNumber]struct{}, len(activeSet)) + commitedIDs := make(map[abi.SectorNumber]struct{}, len(sset)) for _, info := range sset { commitedIDs[info.SectorNumber] = struct{}{} }