File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ use lambdaworks_crypto::merkle_tree::merkle::MerkleTree;
4646use lambdaworks_crypto:: merkle_tree:: traits:: IsMerkleTreeBackend ;
4747use log:: { debug, error, info, warn} ;
4848use tokio:: net:: { TcpListener , TcpStream } ;
49- use tokio:: sync:: { Mutex , MutexGuard , RwLock } ;
49+ use tokio:: sync:: { Mutex , RwLock } ;
5050use tokio_tungstenite:: tungstenite:: { Error , Message } ;
5151use types:: batch_queue:: { self , BatchQueueEntry , BatchQueueEntryPriority } ;
5252use types:: errors:: { BatcherError , TransactionSendError } ;
@@ -61,7 +61,6 @@ mod eth;
6161mod ffi;
6262pub mod gnark;
6363pub mod metrics;
64- mod proof_processor;
6564pub mod retry;
6665pub mod risc_zero;
6766pub mod s3;
@@ -925,12 +924,13 @@ impl Batcher {
925924 return Ok ( ( ) ) ;
926925 } ;
927926
928- if let Err ( _ ) = self
927+ if self
929928 . batch_state
930929 . lock ( )
931930 . await
932931 . update_user_after_adding_proof ( addr, msg_nonce, msg_max_fee)
933932 . await
933+ . is_err ( )
934934 {
935935 send_message (
936936 ws_conn_sink. clone ( ) ,
You can’t perform that action at this time.
0 commit comments