diff --git a/storage/pipeline/states_replica_update.go b/storage/pipeline/states_replica_update.go index a78d6dee8ad..9170f5fb53b 100644 --- a/storage/pipeline/states_replica_update.go +++ b/storage/pipeline/states_replica_update.go @@ -240,6 +240,10 @@ func (m *Sealing) handleFinalizeReplicaUpdate(ctx statemachine.Context, sector S } func (m *Sealing) handleUpdateActivating(ctx statemachine.Context, sector SectorInfo) error { + if sector.ReplicaUpdateMessage == nil { + return xerrors.Errorf("nil sector.ReplicaUpdateMessage!") + } + try := func() error { mw, err := m.Api.StateWaitMsg(ctx.Context(), *sector.ReplicaUpdateMessage, build.MessageConfidence, api.LookbackNoLimit, true) if err != nil {