Update cmd/lotus-storage-miner/sectors.go

This commit is contained in:
Aayush Rajasekaran 2021-07-11 13:01:19 -04:00 committed by GitHub
parent 2cb3c89570
commit ea9ad8c5a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -538,7 +538,7 @@ var sectorsExtendCmd = &cli.Command{
} else {
added := false
for exp := range es {
if withinTolerance(exp, newExp) && newExp > exp && exp > si.Expiration {
if withinTolerance(exp, newExp) && newExp >= exp && exp > si.Expiration {
es[exp] = append(es[exp], uint64(si.SectorNumber))
added = true
break