Skip to content

Commit aaa9479

Browse files
committed
Solve clippy
1 parent 041979e commit aaa9479

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • batcher/aligned-batcher/src/mina

batcher/aligned-batcher/src/mina/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ use log::{debug, warn};
44
pub fn verify_protocol_state_proof_integrity(proof: &[u8], public_input: &[u8]) -> bool {
55
debug!("Reading Mina protocol state proof base64");
66
let protocol_state_proof_base64 =
7-
if let Ok(protocol_state_proof_base64) = std::str::from_utf8(&proof) {
7+
if let Ok(protocol_state_proof_base64) = std::str::from_utf8(proof) {
88
protocol_state_proof_base64
99
} else {
1010
return false;
1111
};
1212
debug!("Reading Mina protocol state hash base58");
1313
let protocol_state_hash_base58 =
14-
if let Ok(protocol_state_hash_base58) = std::str::from_utf8(&public_input) {
14+
if let Ok(protocol_state_hash_base58) = std::str::from_utf8(public_input) {
1515
protocol_state_hash_base58
1616
} else {
1717
return false;

0 commit comments

Comments
 (0)