GetCurrentDealInfo err: handle correctly err case
This commit is contained in:
parent
6df17bceb1
commit
34e3dc2b37
1
extern/storage-sealing/states_failed.go
vendored
1
extern/storage-sealing/states_failed.go
vendored
@ -392,6 +392,7 @@ func (m *Sealing) HandleRecoverDealIDs(ctx Context, sector SectorInfo) error {
|
||||
res, err := m.DealInfo.GetCurrentDealInfo(ctx.Context(), tok, dp, *p.DealInfo.PublishCid)
|
||||
if err != nil {
|
||||
failed[i] = xerrors.Errorf("getting current deal info for piece %d: %w", i, err)
|
||||
continue
|
||||
}
|
||||
|
||||
if res.MarketDeal.Proposal.PieceCID != p.Piece.PieceCID {
|
||||
|
Loading…
Reference in New Issue
Block a user