Skip to content

Commit

Permalink
Remove stale debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed May 1, 2024
1 parent 879416a commit a33ce81
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,8 @@ async fn retry_get_historical_price(
for _ in 1..NUM_RETRIES {
let price = token.get_historical_price(rpc_client, block_date).await;
if price.is_ok() {
println!("Got price");
return price;
}
println!("Retry get_historical_price");
// Empirically observed cool down period is ~14s
//
// TODO: Move this retry logic into `coin_gecko::get_historical_price()`, and respect the
Expand Down

0 comments on commit a33ce81

Please sign in to comment.