Skip to content

Commit

Permalink
hotfix wftm price
Browse files Browse the repository at this point in the history
  • Loading branch information
t0rbik committed Nov 15, 2023
1 parent cc99137 commit 265c4b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/assets/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,11 @@ def dexscreener_price_in_stables(self):
return float(price)

def aggregated_price_in_stables(self):
# price = self.defillama_price_in_stables()
price = 0

if self.address.lower() == ROUTER_ADDRESS.lower():
price = self.defillama_price_in_stables()

try:
price = self.geckoterminal_price_in_stables()
if price != 0:
Expand Down

0 comments on commit 265c4b1

Please sign in to comment.