Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2022-05-13 16:59:07 +02:00
parent 4e649a2ee2
commit b01c5d0d38
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,8 @@ pub async fn runner(
.map(|(pk, bank)| update_index::loop_blocking(mango_client.clone(), *pk, *bank))
.collect::<Vec<_>>();
// TODO: future, maybe we want to only consume events for specific markets,
// TODO: future, maybe we want to crank certain markets more often than others
// Collect all perp markets for a group belonging to an admin
let perp_markets =
mango_client