Fixed build
This commit is contained in:
parent
d970237658
commit
c05924a713
@ -134,10 +134,10 @@ impl Args {
|
|||||||
Ok(match self.flag_spec {
|
Ok(match self.flag_spec {
|
||||||
Some(ref filename) => {
|
Some(ref filename) => {
|
||||||
let file = fs::File::open(filename).map_err(|e| format!("{}", e))?;
|
let file = fs::File::open(filename).map_err(|e| format!("{}", e))?;
|
||||||
spec::Spec::load(file)?
|
spec::Spec::load(::std::env::temp_dir(), file)?
|
||||||
},
|
},
|
||||||
None => {
|
None => {
|
||||||
ethcore::ethereum::new_foundation()
|
ethcore::ethereum::new_foundation(&::std::env::temp_dir())
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user