Skip to content

Commit

Permalink
fix(core): use provers instead of drivers
Browse files Browse the repository at this point in the history
  • Loading branch information
petarvujovic98 committed Jul 17, 2024
1 parent faaf6ed commit 7a04713
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/interfaces.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,15 +220,15 @@ impl ProofType {
.map_err(|e| e.into()),
ProofType::Sp1 => {
#[cfg(feature = "sp1")]
return sp1_driver::Sp1Driver::cancel(proof_key, read)
return sp1_driver::Sp1Prover::cancel(proof_key, read)
.await
.map_err(|e| e.into());
#[cfg(not(feature = "sp1"))]
Err(RaikoError::FeatureNotSupportedError(*self))
}
ProofType::Risc0 => {
#[cfg(feature = "risc0")]
return risc0_driver::Risc0Driver::cancel(proof_key, read)
return risc0_driver::Risc0Prover::cancel(proof_key, read)
.await
.map_err(|e| e.into());
#[cfg(not(feature = "risc0"))]
Expand Down

0 comments on commit 7a04713

Please sign in to comment.