Update cmd/lotus-storage-miner/sectors.go
This commit is contained in:
parent
2cb3c89570
commit
ea9ad8c5a8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user