mirror of
https://github.com/ZeusWPI/ZNS.git
synced 2024-11-21 21:41:10 +01:00
format
This commit is contained in:
parent
81457941ac
commit
4ff625ca56
1 changed files with 1 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue