This commit is contained in:
Łukasz Magiera 2020-07-08 14:35:53 +02:00
parent b049c5a7d1
commit d16de56280
2 changed files with 9 additions and 9 deletions

View File

@ -328,11 +328,11 @@ func createSectorsAMT(ctx context.Context, t *testing.T, store *cbornode.BasicIp
func newSectorOnChainInfo(sectorNo abi.SectorNumber, sealed cid.Cid, weight big.Int, activation, expiration abi.ChainEpoch) miner.SectorOnChainInfo {
info := newSectorPreCommitInfo(sectorNo, sealed, expiration)
return miner.SectorOnChainInfo{
SectorNumber: info.SectorNumber,
SealProof: info.SealProof,
SealedCID: info.SealedCID,
DealIDs: info.DealIDs,
Expiration: info.Expiration,
SectorNumber: info.SectorNumber,
SealProof: info.SealProof,
SealedCID: info.SealedCID,
DealIDs: info.DealIDs,
Expiration: info.Expiration,
Activation: activation,
DealWeight: weight,

View File

@ -158,8 +158,8 @@ func (s *WindowPoStScheduler) checkNextRecoveries(ctx context.Context, deadline
}
if sbfCount == 0 {
log.Warnw("No recoveries to declare", "deadline", deadline, "faulty", uc)
return nil
log.Warnw("No recoveries to declare", "deadline", deadline, "faulty", uc)
return nil
}
params := &miner.DeclareFaultsRecoveredParams{