bench: set correct registered proofs on things

This commit is contained in:
Łukasz Magiera
2020-03-01 22:05:13 +01:00
parent f4310e8f69
commit 98dbb2f70f
2 changed files with 3 additions and 9 deletions
+3 -2
View File
@@ -233,7 +233,7 @@ func main() {
precommit2 := time.Now()
sealedSectors = append(sealedSectors, abi.SectorInfo{
RegisteredProof: ppt,
RegisteredProof: spt,
SectorNumber: i,
SealedCID: commR,
})
@@ -282,7 +282,7 @@ func main() {
OnChain: abi.OnChainSealVerifyInfo{
SealedCID: commR,
InteractiveEpoch: seed.Epoch,
RegisteredProof: ppt,
RegisteredProof: spt,
Proof: proof,
DealIDs: nil,
SectorNumber: i,
@@ -368,6 +368,7 @@ func main() {
var candidates []abi.PoStCandidate
for _, c := range fcandidates {
c.Candidate.RegisteredProof = ppt
candidates = append(candidates, c.Candidate)
}