merged out function return

This commit is contained in:
Nikolay Volf 2016-05-14 20:43:29 +03:00
parent 93aa6c613a
commit 3ea26fcb0a

View File

@ -268,6 +268,10 @@ impl Configuration {
path::ethereum::with_default("geth.ipc").to_str().unwrap().to_owned() path::ethereum::with_default("geth.ipc").to_str().unwrap().to_owned()
} }
pub fn keys_iterations(&self) -> u32 {
self.args.flag_keys_iterations
}
pub fn ipc_settings(&self) -> IpcConfiguration { pub fn ipc_settings(&self) -> IpcConfiguration {
IpcConfiguration { IpcConfiguration {
enabled: !(self.args.flag_ipcdisable || self.args.flag_ipc_off), enabled: !(self.args.flag_ipcdisable || self.args.flag_ipc_off),