diff --git a/states.go b/states.go index 426f028ad..b3f033a9d 100644 --- a/states.go +++ b/states.go @@ -100,7 +100,7 @@ func (m *Sealing) handlePreCommitting(ctx statemachine.Context, sector SectorInf params := &miner.SectorPreCommitInfo{ Expiration: 10000000, // TODO: implement SectorNumber: sector.SectorID, - RegisteredProof: abi.RegisteredProof_StackedDRG32GiBSeal, + RegisteredProof: sector.SectorType, SealedCID: *sector.CommR, SealRandEpoch: sector.Ticket.Epoch,