cargo fmt

This commit is contained in:
B. Petersen
2019-10-04 00:20:15 +02:00
parent 477af413c6
commit 2317518e5e
10 changed files with 66 additions and 24 deletions

View File

@@ -47,7 +47,8 @@ pub struct EncryptHelper {
impl EncryptHelper {
pub fn new(context: &Context) -> Result<EncryptHelper> {
let prefer_encrypt =
EncryptPreference::from_i32(context.get_config_int(Config::E2eeEnabled)).unwrap_or_default();
EncryptPreference::from_i32(context.get_config_int(Config::E2eeEnabled))
.unwrap_or_default();
let addr = match context.get_config(Config::ConfiguredAddr) {
None => {
bail!("addr not configured!");