Program: fix openbook-v2 integration tests (stack overflow issue) (#950)
This commit is contained in:
parent
1ea4528557
commit
7e3a72048e
|
@ -89,7 +89,7 @@ impl OpenbookV2Cookie {
|
||||||
pub async fn consume_spot_events(&self, spot_market_cookie: &OpenbookMarketCookie, limit: u8) {
|
pub async fn consume_spot_events(&self, spot_market_cookie: &OpenbookMarketCookie, limit: u8) {
|
||||||
let event_heap = self
|
let event_heap = self
|
||||||
.solana
|
.solana
|
||||||
.get_account::<EventHeap>(spot_market_cookie.event_heap)
|
.get_account_boxed::<EventHeap>(spot_market_cookie.event_heap)
|
||||||
.await;
|
.await;
|
||||||
let to_consume = event_heap
|
let to_consume = event_heap
|
||||||
.iter()
|
.iter()
|
||||||
|
|
Loading…
Reference in New Issue