nit: edit a comment

This commit is contained in:
Aayush Rajasekaran 2022-02-08 12:06:33 -05:00 committed by GitHub
parent 1ab2744c84
commit b6c141c059
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,7 @@ func sectorActive(ctx context.Context, api SealingAPI, maddr address.Address, to
if err != nil {
return false, xerrors.Errorf("failed to check active sectors: %w", err)
}
// Ensure the upgraded sector is active
// Check if sector is among active sectors
var found bool
for _, si := range active {
if si.SectorNumber == sector {