Liq: trigger a full health check after the snapshot
This commit is contained in:
parent
4e87c07a9a
commit
50f9eb6913
|
@ -263,7 +263,16 @@ async fn main() -> anyhow::Result<()> {
|
|||
chain_data.update_from_snapshot(message);
|
||||
one_snapshot_done = true;
|
||||
|
||||
// TODO: trigger a full health check
|
||||
// trigger a full health check
|
||||
if let Err(err) = liquidate::process_accounts(
|
||||
&mango_client,
|
||||
&chain_data,
|
||||
mango_accounts.iter(),
|
||||
&mint_infos,
|
||||
&perp_markets,
|
||||
) {
|
||||
warn!("could not process accounts: {:?}", err);
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue