File tree Expand file tree Collapse file tree
batcher/aligned-batcher/src/mina Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ use log::{debug, warn};
44pub 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 ;
You can’t perform that action at this time.
0 commit comments