Skip to content

Commit

Permalink
Merge pull request #15 from Polymarket/fix/struct-changes
Browse files Browse the repository at this point in the history
Fix: more bug fixes
  • Loading branch information
JonathanAmenechi authored Feb 23, 2022
2 parents 4ad620f + 7438f74 commit 08f066b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions py_order_utils/builders/market_order_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def build_market_order(self, data: MarketOrderData)-> MarketOrder:
if not self._validate_inputs(data):
raise ValidationException("Invalid market order inputs")

maker_asset_id = data.maker_asset_id if data.maker_asset_id is not None else -1
taker_asset_id = data.taker_asset_id if data.taker_asset_id is not None else -1
maker_asset_id = data.maker_asset_id if data.maker_asset_id is not None else "-1"
taker_asset_id = data.taker_asset_id if data.taker_asset_id is not None else "-1"

signer = data.signer if data.signer is not None else data.maker_address

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="py_order_utils",
version="0.0.9",
version="0.0.10",
author="Jonathan Amenechi",
author_email="[email protected]",
description="Python utilities used to generate and sign limit and market orders on Polymarket's CLOB",
Expand Down

0 comments on commit 08f066b

Please sign in to comment.