From e43174f2af733a45411ebe58bb1a44904d1d59e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Wed, 22 Jan 2020 22:16:45 +0100 Subject: [PATCH] sealing: Not getting seal ticket isn't fatal --- storage/sealing/states.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/sealing/states.go b/storage/sealing/states.go index 219e26475..cb6c03811 100644 --- a/storage/sealing/states.go +++ b/storage/sealing/states.go @@ -51,7 +51,7 @@ func (m *Sealing) handleUnsealed(ctx statemachine.Context, sector SectorInfo) er log.Infow("performing sector replication...", "sector", sector.SectorID) ticket, err := m.tktFn(ctx.Context()) if err != nil { - return err + return ctx.Send(SectorSealFailed{xerrors.Errorf("getting ticket failed: %w", err)}) } rspco, err := m.sb.SealPreCommit(ctx.Context(), sector.SectorID, *ticket, sector.pieceInfos())