Fix incorrect open orders start index

This commit is contained in:
Riordan Panayides 2022-11-02 17:13:25 +00:00
parent 0abfd7960c
commit 21e4b080e3
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ pub fn new(
n_banks: active_token_len,
n_perps: active_perp_len,
begin_perp: active_token_len * 2,
begin_serum3: active_token_len * 2 + active_perp_len,
begin_serum3: active_token_len * 2 + active_perp_len * 2,
};
mango_v4::state::new_health_cache(&account.borrow(), &retriever).context("make health cache")
}