sealing: Use only non-assigned deals when selecting snap sectors
This commit is contained in:
parent
a2431ff70a
commit
c79acf9ca4
@ -630,6 +630,10 @@ func (m *Sealing) pendingPieceEpochBounds() []pieceBound {
|
||||
boundsByEpoch := map[abi.ChainEpoch]*pieceBound{}
|
||||
|
||||
for ppi, piece := range m.pendingPieces {
|
||||
if piece.assigned {
|
||||
continue
|
||||
}
|
||||
|
||||
// start bound on deal end
|
||||
if boundsByEpoch[piece.deal.DealProposal.EndEpoch] == nil {
|
||||
boundsByEpoch[piece.deal.DealProposal.EndEpoch] = &pieceBound{
|
||||
|
Loading…
Reference in New Issue
Block a user