Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lightsing committed Aug 27, 2024
1 parent a0b76fa commit 1fc29c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions prover/src/task_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ use super::{coordinator_client::ProofStatusNotOKError, prover::Prover, task_cach
use anyhow::{Context, Result};
use std::rc::Rc;

pub struct TaskProcessor<'a> {
pub prover: &'a Prover<'a>,
pub struct TaskProcessor<'a, 'b> {
pub prover: &'a Prover<'b>,
pub task_cache: Rc<TaskCache>,
}

impl<'a> TaskProcessor<'a> {
pub fn new(prover: &'a Prover<'a>, task_cache: Rc<TaskCache>) -> Self {
impl<'a, 'b> TaskProcessor<'a, 'b> {
pub fn new(prover: &'a Prover<'b>, task_cache: Rc<TaskCache>) -> Self {
TaskProcessor { prover, task_cache }
}

Expand Down

0 comments on commit 1fc29c2

Please sign in to comment.