parity: print correct keys path on startup (#9501)

This commit is contained in:
Afri Schoedon
2018-09-09 00:43:24 +02:00
committed by GitHub
parent e1f333021f
commit 2177a0179e
2 changed files with 6 additions and 6 deletions

View File

@@ -131,9 +131,9 @@ impl Directories {
}
/// Get the keys path
pub fn keys_path(&self, spec_name: &str) -> PathBuf {
pub fn keys_path(&self, data_dir: &str) -> PathBuf {
let mut dir = PathBuf::from(&self.keys);
dir.push(spec_name);
dir.push(data_dir);
dir
}
}