Skip to content

Commit

Permalink
reverted change
Browse files Browse the repository at this point in the history
  • Loading branch information
poliwop committed Sep 10, 2024
1 parent 672020a commit af32d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydradx/model/amm/global_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def market_prices(self, shares: dict) -> dict:
for share_id in shares:
# if shares are for a specific asset in a specific pool, get prices according to that pool
if isinstance(share_id, tuple):
pool_id = share_id[0].split('_')[0]
pool_id = share_id[0]
tkn_id = share_id[1]
prices[share_id] = self.pools[pool_id].usd_price(self.pools[pool_id], tkn_id)

Expand Down

0 comments on commit af32d65

Please sign in to comment.