File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -577,13 +577,13 @@ class HwProver : public ParallelProver {
577577 pos_offset = segm.start / vdf->interval ;
578578 }
579579
580- form* GetForm (uint64_t pos) {
580+ form GetForm (uint64_t pos) {
581581 pos += pos_offset;
582582 if (hw_proof_wait_value (vdf, pos)) {
583583 // Provide arbitrary value when stopping - proof won't be computed
584- return & vdf->values [0 ][0 ];
584+ return vdf->values [0 ][0 ];
585585 }
586- return hw_proof_value_at (vdf, pos);
586+ return * hw_proof_value_at (vdf, pos);
587587 }
588588
589589 void start () {
Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ class Prover {
267267 is_finished = false ;
268268 }
269269
270- virtual form* GetForm (uint64_t iteration) = 0;
270+ virtual form GetForm (uint64_t iteration) = 0;
271271 virtual void start () = 0;
272272 virtual void stop () = 0;
273273 virtual bool PerformExtraStep () = 0;
You can’t perform that action at this time.
0 commit comments