cartgo fmt

This commit is contained in:
Riordan Panayides 2023-05-07 12:56:05 +01:00
parent f2688876b0
commit c6f28a9652
2 changed files with 4 additions and 5 deletions

View File

@ -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?;

View File

@ -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>,