We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23a941a commit 0e918afCopy full SHA for 0e918af
1 file changed
batcher/aligned-batcher/src/types/batch_state.rs
@@ -246,7 +246,7 @@ impl BatchState {
246
if let Entry::Occupied(mut user_state) = self.user_states.entry(addr) {
247
user_state.get_mut().proofs_in_batch -= 1;
248
user_state.get_mut().nonce -= U256::one();
249
- user_state.get_mut().total_fees_in_queue -= user_state.get_mut().last_max_fee_limit;
+ user_state.get_mut().total_fees_in_queue -= removed_entry.nonced_verification_data.max_fee;
250
user_state.get_mut().last_max_fee_limit = new_last_max_fee_limit;
251
}
252
0 commit comments