From cacb797d160cbbf05587beea4df70f072234e1e0 Mon Sep 17 00:00:00 2001 From: whyrusleeping Date: Fri, 28 Feb 2020 12:52:14 -0800 Subject: [PATCH] pass on proper sector types --- states.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,