mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-04-23 03:00:50 -04:00
remove redundant put_task
This commit is contained in:
@@ -38,11 +38,7 @@ impl<'a> TaskProcessor<'a> {
|
||||
std::thread::sleep(core::time::Duration::from_secs(10));
|
||||
return Err(err).context("failed to fetch task from coordinator");
|
||||
}
|
||||
let task_wrapper: TaskWrapper = fetch_result.unwrap().into();
|
||||
self.task_cache
|
||||
.put_task(&task_wrapper)
|
||||
.context("failed to push task into stack")?;
|
||||
task_wrapper
|
||||
fetch_result.unwrap().into()
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user