From 34e3dc2b37e0bb4d40467443e97915525e302645 Mon Sep 17 00:00:00 2001 From: Anton Evangelatov Date: Fri, 17 Sep 2021 14:55:56 +0200 Subject: [PATCH] GetCurrentDealInfo err: handle correctly err case --- extern/storage-sealing/states_failed.go | 1 + 1 file changed, 1 insertion(+) diff --git a/extern/storage-sealing/states_failed.go b/extern/storage-sealing/states_failed.go index f1fd092b6..a00fd9492 100644 --- a/extern/storage-sealing/states_failed.go +++ b/extern/storage-sealing/states_failed.go @@ -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 {