Skip to content

Commit 6c63dc3

Browse files
committed
chore: fix OrderbookV2Request
1 parent 204e796 commit 6c63dc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyinjective/async_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -641,8 +641,8 @@ async def get_spot_orderbooks(self, market_ids: List):
641641
return await self.stubSpotExchange.Orderbooks(req)
642642

643643
async def get_spot_orderbookV2(self, market_id: str):
644-
req = spot_exchange_rpc_pb.OrderbooksV2Request(market_id=market_id)
645-
return await self.stubSpotExchange.OrderbooksV2(req)
644+
req = spot_exchange_rpc_pb.OrderbookV2Request(market_id=market_id)
645+
return await self.stubSpotExchange.OrderbookV2(req)
646646

647647
async def get_spot_orderbooksV2(self, market_ids: List):
648648
req = spot_exchange_rpc_pb.OrderbooksV2Request(market_ids=market_ids)

0 commit comments

Comments
 (0)