We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d500e2c commit c311cd0Copy full SHA for c311cd0
batcher/aligned-batcher/src/lib.rs
@@ -1060,10 +1060,8 @@ impl Batcher {
1060
BatchQueueEntryPriority::new(max_fee, nonce),
1061
);
1062
1063
- let batch_queue_len = batch_state_lock.batch_queue.len();
1064
-
1065
// if max batch qty exceded, remove least priority element
1066
- if batch_queue_len > self.max_batch_proof_qty {
+ if batch_state_lock.batch_queue.len() > self.max_batch_proof_qty {
1067
info!("Queue limit exceded, removing least priority element");
1068
1069
if let Some(lowest_priority_entry) = batch_state_lock.batch_queue.pop_min() {
0 commit comments