This commit is contained in:
Hardhat Chad
2025-09-23 07:09:26 -07:00
parent 0b9b2f3ae8
commit 17d455169d

View File

@@ -391,6 +391,7 @@ async fn get_clock(rpc: &RpcClient) -> Result<Clock, anyhow::Error> {
Ok(clock)
}
#[allow(dead_code)]
async fn get_miners(rpc: &RpcClient) -> Result<Vec<(Pubkey, Miner)>, anyhow::Error> {
let miners = get_program_accounts::<Miner>(rpc, ore_api::ID, vec![]).await?;
Ok(miners)