cmd sectors commitIDs len

This commit is contained in:
zgfzgf 2020-11-10 17:37:36 +08:00
parent 3ec25cbece
commit f5401317c9

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