From a406b852dcebdde34031b69b47a6e5e7357a93fc Mon Sep 17 00:00:00 2001 From: Chris Heaney Date: Sun, 26 Nov 2023 19:29:16 -0500 Subject: [PATCH] rm unused maker info --- src/driftpy/drift_client.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/driftpy/drift_client.py b/src/driftpy/drift_client.py index 1df93806..ef0e2c39 100644 --- a/src/driftpy/drift_client.py +++ b/src/driftpy/drift_client.py @@ -823,7 +823,6 @@ def get_increase_compute_ix(self) -> Instruction: async def place_spot_order( self, order_params: OrderParams, - maker_info: MakerInfo = None, sub_account_id: int = 0, ): return await self.send_ixs( @@ -911,13 +910,12 @@ async def get_place_spot_orders_ix( async def place_perp_order( self, order_params: OrderParams, - maker_info: MakerInfo = None, sub_account_id: int = 0, ): return await self.send_ixs( [ self.get_increase_compute_ix(), - (await self.get_place_perp_order_ix(order_params, sub_account_id))[-1], + await self.get_place_perp_order_ix(order_params, sub_account_id), ] )