Merge pull request #3232 from filecoin-project/asr/marked-for-upgrade

Indicate whether a sector has been marked for upgrade
This commit is contained in:
Łukasz Magiera
2020-08-22 21:48:45 +02:00
committed by GitHub
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,