Merge pull request #4786 from zgfzgf/fix-sectors-cmd-list

cmd sectors commitIDs len debug
This commit is contained in:
Łukasz Magiera 2020-11-10 19:18:17 +01:00 committed by GitHub
commit 89632416ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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{}{}
}