Indicate whether a sector has been marked for upgrade

This commit is contained in:
Aayush Rajasekaran
2020-08-21 15:53:39 -04:00
parent bf98ebe33e
commit 984e52acbc
5 changed files with 25 additions and 11 deletions
+2 -1
View File
@@ -153,7 +153,8 @@ func (sm *StorageMinerAPI) SectorsStatus(ctx context.Context, sid abi.SectorNumb
Value: info.SeedValue,
Epoch: info.SeedEpoch,
},
Retries: info.InvalidProofs,
Retries: info.InvalidProofs,
ToUpgrade: sm.Miner.IsMarkedForUpgrade(sid),
LastErr: info.LastErr,
Log: log,