Fixed build

This commit is contained in:
arkpar 2017-07-11 10:21:23 +02:00
parent d970237658
commit c05924a713
1 changed files with 2 additions and 2 deletions

View File

@ -134,10 +134,10 @@ impl Args {
Ok(match self.flag_spec {
Some(ref filename) => {
let file = fs::File::open(filename).map_err(|e| format!("{}", e))?;
spec::Spec::load(file)?
spec::Spec::load(::std::env::temp_dir(), file)?
},
None => {
ethcore::ethereum::new_foundation()
ethcore::ethereum::new_foundation(&::std::env::temp_dir())
},
})
}