fix: prover: Propagate skipped sectors in local PoSt

This commit is contained in:
Łukasz Magiera 2023-04-27 09:26:12 +02:00
parent e351d77ff8
commit 9d2d53b58e

View File

@ -85,7 +85,7 @@ func (m *Manager) GenerateWindowPoSt(ctx context.Context, minerID abi.ActorID, p
log.Info("GenerateWindowPoSt run at lotus-miner")
p, s, err := m.localProver.GenerateWindowPoSt(ctx, minerID, postProofType, sectorInfo, randomness)
if err != nil {
return nil, nil, xerrors.Errorf("local prover: %w", err)
return p, s, xerrors.Errorf("local prover: %w", err)
}
return p, s, nil