Skip to content

Commit

Permalink
Merge pull request #5773 from IPFSMain-Official/fix-window-post-rand-…
Browse files Browse the repository at this point in the history
…check

fix window post rand check
  • Loading branch information
magik6k authored Mar 11, 2021
2 parents 3fbfb7a + 9095bab commit 097c65d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/wdpost_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ func (s *WindowPoStScheduler) runPost(ctx context.Context, di dline.Info, ts *ty
return nil, err
}

postOut, ps, err := s.prover.GenerateWindowPoSt(ctx, abi.ActorID(mid), sinfos, abi.PoStRandomness(rand))
postOut, ps, err := s.prover.GenerateWindowPoSt(ctx, abi.ActorID(mid), sinfos, append(abi.PoStRandomness{}, rand...))
elapsed := time.Since(tsStart)

log.Infow("computing window post", "batch", batchIdx, "elapsed", elapsed)
Expand Down

0 comments on commit 097c65d

Please sign in to comment.