@@ -893,10 +893,13 @@ impl Batcher {
893893 return Ok ( ( ) ) ;
894894 }
895895
896- if !self . verify_proof_if_enabled (
897- & nonced_verification_data. verification_data ,
898- ws_conn_sink. clone ( ) ,
899- ) . await {
896+ if !self
897+ . verify_proof_if_enabled (
898+ & nonced_verification_data. verification_data ,
899+ ws_conn_sink. clone ( ) ,
900+ )
901+ . await
902+ {
900903 return Ok ( ( ) ) ;
901904 }
902905
@@ -1094,17 +1097,19 @@ impl Batcher {
10941097 SubmitProofResponseMessage :: InvalidReplacementMessage ,
10951098 )
10961099 . await ;
1097- self . metrics
1098- . user_error ( & [ "insufficient_fee_increase" , "" ] ) ;
1100+ self . metrics . user_error ( & [ "insufficient_fee_increase" , "" ] ) ;
10991101 return ;
11001102 }
11011103
11021104 info ! ( "Replacing message for address {addr} with nonce {nonce} and max fee {replacement_max_fee}" ) ;
11031105
1104- if !self . verify_proof_if_enabled (
1105- & nonced_verification_data. verification_data ,
1106- ws_conn_sink. clone ( ) ,
1107- ) . await {
1106+ if !self
1107+ . verify_proof_if_enabled (
1108+ & nonced_verification_data. verification_data ,
1109+ ws_conn_sink. clone ( ) ,
1110+ )
1111+ . await
1112+ {
11081113 drop ( batch_state_guard) ;
11091114 drop ( user_state_guard) ;
11101115 return ;
@@ -1185,7 +1190,10 @@ impl Batcher {
11851190 . is_verifier_disabled ( verification_data. proving_system )
11861191 . await
11871192 {
1188- warn ! ( "Verifier for proving system {} is disabled" , verification_data. proving_system) ;
1193+ warn ! (
1194+ "Verifier for proving system {} is disabled" ,
1195+ verification_data. proving_system
1196+ ) ;
11891197 send_message (
11901198 ws_conn_sink,
11911199 SubmitProofResponseMessage :: InvalidProof ( ProofInvalidReason :: DisabledVerifier (
0 commit comments