Actors update: MinerInfo.SealProofType has been removed

This commit is contained in:
Aayush Rajasekaran
2021-01-21 15:21:19 -08:00
committed by Steven Allen
parent 82635f2515
commit ab90a3b2bc
12 changed files with 50 additions and 36 deletions
+1 -1
View File
@@ -475,7 +475,7 @@ func (m *Sealing) currentSealProof(ctx context.Context) (abi.RegisteredSealProof
return 0, err
}
return mi.SealProofType, nil
return miner.PreferredSealProofTypeFromWindowPoStType(mi.WindowPoStProofType)
}
func (m *Sealing) minerSector(spt abi.RegisteredSealProof, num abi.SectorNumber) storage.SectorRef {