Skip to content

Commit 19febec

Browse files
committed
Remove special logic that is not needed
1 parent d84d2a1 commit 19febec

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

  • batcher/aligned-batcher/src

batcher/aligned-batcher/src/lib.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,17 +1088,6 @@ impl Batcher {
10881088

10891089
info!("Current batch queue length: {}", queue_len);
10901090

1091-
let mut proof_submitter_addr = proof_submitter_addr;
1092-
1093-
// If the proof submitter is the nonpaying one, we should update the state
1094-
// of the replacement address.
1095-
proof_submitter_addr = if self.has_to_pay(&proof_submitter_addr) {
1096-
self.get_nonpaying_replacement_addr()
1097-
.unwrap_or(proof_submitter_addr)
1098-
} else {
1099-
proof_submitter_addr
1100-
};
1101-
11021091
let Some(user_proof_count) = batch_state_lock
11031092
.get_user_proof_count(&proof_submitter_addr)
11041093
.await

0 commit comments

Comments
 (0)