mirror of
https://github.com/ZeusWPI/ZNS.git
synced 2024-10-29 21:14:27 +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 type_size = reader.read_i32()?;
|
||||||
let read = reader.read(type_size as usize)?;
|
let read = reader.read(type_size as usize)?;
|
||||||
let algo_type = from_utf8(&read).map_err(|e| ZNSError::Key {
|
let algo_type = from_utf8(&read).map_err(|e| ZNSError::Key {
|
||||||
message: format!(
|
message: format!("Could not convert type name bytes to string: {}", e),
|
||||||
"Could not convert type name bytes to string: {}",
|
|
||||||
e
|
|
||||||
),
|
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
if algo_type == key_type {
|
if algo_type == key_type {
|
||||||
|
|
Loading…
Reference in a new issue