Skip to content

Commit

Permalink
rm unused maker info
Browse files Browse the repository at this point in the history
  • Loading branch information
crispheaney committed Nov 27, 2023
1 parent 11e481b commit a406b85
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/driftpy/drift_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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),
]
)

Expand Down

0 comments on commit a406b85

Please sign in to comment.