Skip to content

Commit

Permalink
removing redundant conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
distractedm1nd committed Jul 25, 2024
1 parent 0224906 commit de9d1f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/node_types/sequencer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,7 @@ impl Sequencer {
}
};

// utf8lossy
let json_string = String::from_utf8_lossy(&signed_content).to_string();
let json_string = String::from_utf8_lossy(&signed_content);
let incoming: IncomingEntry = match serde_json::from_str(&json_string) {
Ok(obj) => obj,
Err(e) => {
Expand Down

0 comments on commit de9d1f7

Please sign in to comment.