From af32d65a1027237ec9ca473675d69c5efec8c413 Mon Sep 17 00:00:00 2001 From: poliwop Date: Tue, 10 Sep 2024 10:56:07 -0500 Subject: [PATCH] reverted change --- hydradx/model/amm/global_state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hydradx/model/amm/global_state.py b/hydradx/model/amm/global_state.py index bf2928b2..cc5f2e27 100644 --- a/hydradx/model/amm/global_state.py +++ b/hydradx/model/amm/global_state.py @@ -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)