cartgo fmt
This commit is contained in:
parent
f2688876b0
commit
c6f28a9652
|
@ -21,8 +21,7 @@ use std::{
|
|||
str::FromStr,
|
||||
sync::{
|
||||
atomic::{AtomicBool, Ordering},
|
||||
Arc,
|
||||
Mutex
|
||||
Arc, Mutex,
|
||||
},
|
||||
time::Duration,
|
||||
};
|
||||
|
@ -376,7 +375,7 @@ async fn main() -> anyhow::Result<()> {
|
|||
market_configs.clone(),
|
||||
serum_market_configs.clone(),
|
||||
metrics_tx.clone(),
|
||||
exit.clone()
|
||||
exit.clone(),
|
||||
)
|
||||
.await?;
|
||||
|
||||
|
|
|
@ -32,11 +32,11 @@ use std::borrow::BorrowMut;
|
|||
use std::{
|
||||
collections::{HashMap, HashSet},
|
||||
mem::size_of,
|
||||
time::{SystemTime, UNIX_EPOCH},
|
||||
sync::{
|
||||
atomic::{AtomicBool, Ordering},
|
||||
Arc,
|
||||
},
|
||||
time::{SystemTime, UNIX_EPOCH},
|
||||
};
|
||||
|
||||
struct KeyedSharedDataAccountReader {
|
||||
|
@ -158,7 +158,7 @@ pub async fn init(
|
|||
market_configs: Vec<(Pubkey, MarketConfig)>,
|
||||
serum_market_configs: Vec<(Pubkey, MarketConfig)>,
|
||||
metrics_sender: Metrics,
|
||||
exit: Arc<AtomicBool>
|
||||
exit: Arc<AtomicBool>,
|
||||
) -> anyhow::Result<(
|
||||
async_channel::Sender<AccountWrite>,
|
||||
async_channel::Sender<SlotUpdate>,
|
||||
|
|
Loading…
Reference in New Issue