Minor indent fix. (#1561)
This commit is contained in:
parent
f023d7a17f
commit
43d931de12
@ -425,11 +425,11 @@ impl Configuration {
|
|||||||
fn geth_ipc_path(&self) -> String {
|
fn geth_ipc_path(&self) -> String {
|
||||||
if cfg!(windows) {
|
if cfg!(windows) {
|
||||||
r"\\.\pipe\geth.ipc".to_owned()
|
r"\\.\pipe\geth.ipc".to_owned()
|
||||||
}
|
} else {
|
||||||
else {
|
match self.args.flag_testnet {
|
||||||
if self.args.flag_testnet { path::ethereum::with_testnet("geth.ipc") }
|
true => path::ethereum::with_testnet("geth.ipc"),
|
||||||
else { path::ethereum::with_default("geth.ipc") }
|
false => path::ethereum::with_default("geth.ipc"),
|
||||||
.to_str().unwrap().to_owned()
|
}.to_str().unwrap().to_owned()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user