Skip to content

Commit

Permalink
Merge pull request #18 from Polymarket/fix/limit-order-bug-fix
Browse files Browse the repository at this point in the history
Fix: bug fix on limit order creation
  • Loading branch information
JonathanAmenechi authored Mar 1, 2022
2 parents 70b8171 + cdd2160 commit 1aab8f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions py_order_utils/builders/limit_order_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ def build_limit_order(self, data: LimitOrderData)-> LimitOrder:
if data.maker_asset_id is not None:
maker_asset = data.exchange_address
maker_asset_data = self.erc1155_facade.transfer_from(
data.maker_asset_address,
data.maker_address,
data.taker_address,
data.maker_asset_id,
data.maker_address,
data.taker_address,
data.maker_asset_address,
data.maker_asset_id,
data.maker_amount
)
else:
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.11",
version="0.0.12",
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 1aab8f6

Please sign in to comment.