Fix client and keeper for new perp orderbooks

This commit is contained in:
Christian Kamm 2022-11-09 09:32:32 +01:00
parent 5731ce8faa
commit 7da421ea1c
2 changed files with 2 additions and 4 deletions

View File

@ -869,8 +869,7 @@ impl MangoClient {
group: self.group(),
account: *liqee.0,
perp_market: perp.address,
asks: perp.market.asks,
bids: perp.market.bids,
orderbook: perp.market.orderbook,
oracle: perp.market.oracle,
},
None,

View File

@ -288,8 +288,7 @@ pub async fn loop_update_funding(
&mango_v4::accounts::PerpUpdateFunding {
group: perp_market.group,
perp_market: pk,
asks: perp_market.asks,
bids: perp_market.bids,
orderbook: perp_market.orderbook,
oracle: perp_market.oracle,
},
None,