Skip to content

Commit ffd706a

Browse files
committed
fix: remove query handling debug logging
Signed-off-by: William Hankins <[email protected]>
1 parent 9e1dfdf commit ffd706a

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

modules/historical_accounts_state/src/historical_accounts_state.rs

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -346,28 +346,7 @@ impl HistoricalAccountsState {
346346
}
347347
}
348348
AccountsStateQuery::GetAccountRewardHistory { account } => {
349-
let result = state.lock().await.get_reward_history(account).await;
350-
351-
match &result {
352-
Ok(Some(rewards)) => {
353-
info!(
354-
"Account {:?} has {} reward entries",
355-
account.to_string(),
356-
rewards.len()
357-
);
358-
}
359-
Ok(None) => {
360-
info!("Account {:?} has no reward history", account.to_string());
361-
}
362-
Err(e) => {
363-
error!(
364-
"Failed to fetch reward history for {:?}: {e:#}",
365-
account.to_string()
366-
);
367-
}
368-
}
369-
370-
match result {
349+
match state.lock().await.get_reward_history(account).await {
371350
Ok(Some(rewards)) => {
372351
AccountsStateQueryResponse::AccountRewardHistory(rewards)
373352
}

0 commit comments

Comments
 (0)