Skip to content

Commit

Permalink
frank/0.7.46 (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
soundsonacid authored Apr 5, 2024
1 parent 5540db0 commit 059e8fa
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.7.44
current_version = 0.7.45
commit = True
tag = True
tag_name = {new_version}
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,3 +223,11 @@ Fix minor bugs in `DriftUser` math functions
Add `JitoTxSender`

Update `drift.json` IDL

## [0.7.45] - 2024-4-5

Update `perp_market_constants.py`

## [0.7.46] - 2024-4-5

Fix bug where `DriftClient.send_ixs` wasn't properly awaited
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "driftpy"
version = "0.7.44"
version = "0.7.45"
description = "A Python client for the Drift DEX"
authors = ["x19 <https://twitter.com/[email protected]>", "bigz <https://twitter.com/bigz_pubkey>", "frank <https://twitter.com/soundsonacid>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/driftpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.7.44"
__version__ = "0.7.46"
8 changes: 5 additions & 3 deletions src/driftpy/drift_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1031,9 +1031,11 @@ async def cancel_orders(
Returns:
str: tx sig
"""
return await self.send_ixs(
self.get_cancel_orders_ix(
market_type, market_index, direction, sub_account_id
return (
await self.send_ixs(
self.get_cancel_orders_ix(
market_type, market_index, direction, sub_account_id
)
)
).tx_sig

Expand Down

0 comments on commit 059e8fa

Please sign in to comment.