diff --git a/ethcore/src/spec/spec.rs b/ethcore/src/spec/spec.rs index c9a7a8918..7c0e33251 100644 --- a/ethcore/src/spec/spec.rs +++ b/ethcore/src/spec/spec.rs @@ -66,7 +66,7 @@ pub struct Spec { pub name: String, /// What engine are we using for this? pub engine: Arc, - /// The fork identifier for this chain. Only needed to distinguish two chains sharing the same genesis. + /// Name of the subdir inside the main data dir to use for chain data and settings. pub data_dir: String, /// Known nodes on the network in enode format. diff --git a/parity/upgrade.rs b/parity/upgrade.rs index 273d98d1c..8e0749ceb 100644 --- a/parity/upgrade.rs +++ b/parity/upgrade.rs @@ -130,7 +130,6 @@ pub fn upgrade(db_path: Option<&str>) -> Result { }) } - fn file_exists(path: &Path) -> bool { match fs::metadata(&path) { Err(ref e) if e.kind() == io::ErrorKind::NotFound => false,