address review
This commit is contained in:
parent
ce17decf3b
commit
65e37c29e4
@ -33,7 +33,7 @@ func (m *Sealing) handleWaitDeals(ctx statemachine.Context, sector SectorInfo) e
|
|||||||
for _, piece := range sector.Pieces {
|
for _, piece := range sector.Pieces {
|
||||||
used += piece.Piece.Size.Unpadded()
|
used += piece.Piece.Size.Unpadded()
|
||||||
|
|
||||||
if piece.DealInfo.DealProposal.EndEpoch > lastDealEnd {
|
if piece.DealInfo != nil && piece.DealInfo.DealProposal.EndEpoch > lastDealEnd {
|
||||||
lastDealEnd = piece.DealInfo.DealProposal.EndEpoch
|
lastDealEnd = piece.DealInfo.DealProposal.EndEpoch
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user