Minor indent fix. (#1561)

This commit is contained in:
Gav Wood 2016-07-07 13:18:09 +02:00 committed by GitHub
parent f023d7a17f
commit 43d931de12
1 changed files with 5 additions and 5 deletions

View File

@ -425,11 +425,11 @@ impl Configuration {
fn geth_ipc_path(&self) -> String {
if cfg!(windows) {
r"\\.\pipe\geth.ipc".to_owned()
}
else {
if self.args.flag_testnet { path::ethereum::with_testnet("geth.ipc") }
else { path::ethereum::with_default("geth.ipc") }
.to_str().unwrap().to_owned()
} else {
match self.args.flag_testnet {
true => path::ethereum::with_testnet("geth.ipc"),
false => path::ethereum::with_default("geth.ipc"),
}.to_str().unwrap().to_owned()
}
}