Skip to content

Commit

Permalink
chore: removed more prints
Browse files Browse the repository at this point in the history
  • Loading branch information
uri-99 committed Sep 19, 2024
1 parent f9d35d9 commit a7b92e0
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions batcher/aligned-batcher/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -614,10 +614,6 @@ impl Batcher {
// Checks user has sufficient balance
// If user has sufficient balance, increments the user's proof count in the batch
async fn check_user_balance_and_increment_proof_count(&self, addr: &Address) -> bool {
info!(
"Checking user balance and incrementing proof count for address {}",
addr
);
if self.user_balance_is_unlocked(addr).await {
return false;
}
Expand All @@ -627,12 +623,6 @@ impl Batcher {

let user_balance = self.get_user_balance(addr).await;

info!(
"User balance for address {addr} is {balance}",
addr = addr,
balance = user_balance
);

let min_balance = U256::from(user_proofs_in_batch) * U256::from(MIN_FEE_PER_PROOF);
if user_balance < min_balance {
return false;
Expand Down

0 comments on commit a7b92e0

Please sign in to comment.