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(), group: self.group(),
account: *liqee.0, account: *liqee.0,
perp_market: perp.address, perp_market: perp.address,
asks: perp.market.asks, orderbook: perp.market.orderbook,
bids: perp.market.bids,
oracle: perp.market.oracle, oracle: perp.market.oracle,
}, },
None, None,

View File

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