diff --git a/zns-daemon/src/handlers/update/pubkeys/mod.rs b/zns-daemon/src/handlers/update/pubkeys/mod.rs index a525ef2..54f6c7e 100644 --- a/zns-daemon/src/handlers/update/pubkeys/mod.rs +++ b/zns-daemon/src/handlers/update/pubkeys/mod.rs @@ -17,10 +17,7 @@ pub trait PublicKey { let type_size = reader.read_i32()?; let read = reader.read(type_size as usize)?; let algo_type = from_utf8(&read).map_err(|e| ZNSError::Key { - message: format!( - "Could not convert type name bytes to string: {}", - e - ), + message: format!("Could not convert type name bytes to string: {}", e), })?; if algo_type == key_type {