Skip to content

Commit

Permalink
rm code
Browse files Browse the repository at this point in the history
  • Loading branch information
ebatsell committed Apr 9, 2024
1 parent 29875e5 commit f4b9002
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions keepers/keeper-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,20 +128,6 @@ async fn get_latest_blockhash_with_retry(client: &RpcClient) -> Result<Hash, Cli
.0)
}

// async fn get_global_priority_fee_with_retry(client: &RpcClient) -> Result<u64, ClientError> {
// for _ in 1..4 {
// let result = client.get_recent_prioritization_fees(&[]).await;
// if result.is_ok() {
// if let Some(fee) = result?.last() {
// return Ok(fee.prioritization_fee);
// } else {
// return Ok(0);
// }
// }
// }
// Ok(client.get_fee_rate_governor().await?.value.min_priority_fee)
// }

pub async fn get_multiple_accounts_with_retry(
client: &RpcClient,
pubkeys: &[Pubkey],
Expand Down

0 comments on commit f4b9002

Please sign in to comment.