Skip to content

Commit

Permalink
update misleading asset parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
gokselcoban committed Dec 6, 2022
1 parent d9b5c25 commit b8252de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tinyman/v2/contracts.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@


def get_pool_logicsig(
validator_app_id: int, asset_1_id: int, asset_2_id: int
validator_app_id: int, asset_a_id: int, asset_b_id: int
) -> LogicSigAccount:
assets = [asset_1_id, asset_2_id]
assets = [asset_a_id, asset_b_id]
asset_1_id = max(assets)
asset_2_id = min(assets)

Expand Down

0 comments on commit b8252de

Please sign in to comment.