Program: fix openbook-v2 integration tests (stack overflow issue) (#950)

This commit is contained in:
Serge Farny 2024-04-23 11:06:07 +02:00 committed by GitHub
parent 1ea4528557
commit 7e3a72048e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ impl OpenbookV2Cookie {
pub async fn consume_spot_events(&self, spot_market_cookie: &OpenbookMarketCookie, limit: u8) {
let event_heap = self
.solana
.get_account::<EventHeap>(spot_market_cookie.event_heap)
.get_account_boxed::<EventHeap>(spot_market_cookie.event_heap)
.await;
let to_consume = event_heap
.iter()