Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
klkvr committed Aug 28, 2024
1 parent 9b13ed2 commit 9d6a8b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/compilers/src/project_util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ impl<T: ArtifactOutput + Default> TempProject<MultiCompiler, T> {
pub fn set_solc(&mut self, solc: &str) -> &mut Self {
use crate::solc::{Solc, SolcCompiler};

self.inner.compiler.solc = SolcCompiler::Specific(
self.inner.compiler.solc = Some(SolcCompiler::Specific(
Solc::find_svm_installed_version(&solc.parse().unwrap()).unwrap().unwrap(),
);
));

self
}
Expand Down

0 comments on commit 9d6a8b8

Please sign in to comment.