Skip to content

Commit 0e918af

Browse files
committed
Fix compile
1 parent 23a941a commit 0e918af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

batcher/aligned-batcher/src/types/batch_state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ impl BatchState {
246246
if let Entry::Occupied(mut user_state) = self.user_states.entry(addr) {
247247
user_state.get_mut().proofs_in_batch -= 1;
248248
user_state.get_mut().nonce -= U256::one();
249-
user_state.get_mut().total_fees_in_queue -= user_state.get_mut().last_max_fee_limit;
249+
user_state.get_mut().total_fees_in_queue -= removed_entry.nonced_verification_data.max_fee;
250250
user_state.get_mut().last_max_fee_limit = new_last_max_fee_limit;
251251
}
252252
}

0 commit comments

Comments
 (0)