diff --git a/service-mango-orderbook/src/main.rs b/service-mango-orderbook/src/main.rs index 61d1b99..2f383e0 100644 --- a/service-mango-orderbook/src/main.rs +++ b/service-mango-orderbook/src/main.rs @@ -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?; diff --git a/service-mango-orderbook/src/orderbook_filter.rs b/service-mango-orderbook/src/orderbook_filter.rs index 7ecb530..b7b0fc3 100644 --- a/service-mango-orderbook/src/orderbook_filter.rs +++ b/service-mango-orderbook/src/orderbook_filter.rs @@ -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 + exit: Arc, ) -> anyhow::Result<( async_channel::Sender, async_channel::Sender,