rm unused

This commit is contained in:
aniketfuryrocks 2023-06-14 07:55:39 +05:30
parent 36bc1b9d3e
commit 05599bf699
No known key found for this signature in database
GPG Key ID: 1B75EA596D89FF06
2 changed files with 0 additions and 11 deletions

View File

@ -9,8 +9,6 @@ use std::{
};
use tokio::sync::RwLock;
pub type BlockHashGetter = Arc<RwLock<Hash>>;
#[async_trait::async_trait]
pub trait Benchmark: Clone + Send + 'static {
async fn run(

View File

@ -83,12 +83,3 @@ pub struct Config {
pub mints: Vec<String>,
pub markets: Vec<Market>,
}
impl Config {
pub fn get_payers(&self) -> Vec<Keypair> {
self.users
.iter()
.map(|x| Keypair::from_bytes(x.secret.as_slice()).unwrap())
.collect()
}
}