File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -1195,7 +1195,7 @@ impl Batcher {
11951195 gas_price : U256 ,
11961196 ) -> Option < Vec < BatchQueueEntry > > {
11971197 info ! ( "Batch building: started, acquiring lock to stop processing new messages..." ) ;
1198- let _ = self . batch_building_mutex . lock ( ) . await ;
1198+ let _batch_building_mutex = self . batch_building_mutex . lock ( ) . await ;
11991199
12001200 info ! ( "Batch building: waiting until all the ongoing messages finish" ) ;
12011201 // acquire all the user locks to make sure all the ongoing message have been processed
@@ -2023,8 +2023,6 @@ impl Batcher {
20232023 & self ,
20242024 nonced_verification_data : & NoncedVerificationData ,
20252025 ) -> Result < ( ) , ProofInvalidReason > {
2026- tokio:: time:: sleep ( tokio:: time:: Duration :: from_secs ( 5 ) ) . await ;
2027-
20282026 if !self . pre_verification_is_enabled {
20292027 return Ok ( ( ) ) ;
20302028 }
You can’t perform that action at this time.
0 commit comments