Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
xerbalind committed Aug 22, 2024
1 parent 8145794 commit 4ff625c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions zns-daemon/src/handlers/update/pubkeys/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4ff625c

Please sign in to comment.