Fixed build

This commit is contained in:
arkpar 2017-07-11 10:21:23 +02:00
parent d970237658
commit c05924a713

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())
},
})
}