rm unused
This commit is contained in:
parent
36bc1b9d3e
commit
05599bf699
|
@ -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(
|
||||
|
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue