Hotfix: exclude Sushiswap LP tokens TLV in USD

pull/3683/head
Victor Baranov 4 years ago
parent 4f00ee5c8f
commit f72ae69ba9
  1. 2
      apps/block_scout_web/lib/block_scout_web/templates/bridged_tokens/_tile.html.eex

@ -75,7 +75,7 @@
<%= if @bridged_token.exchange_rate && @token.total_supply do %>
<% usd_val = Decimal.mult(@bridged_token.exchange_rate, divide_decimals(@token.total_supply, @token.decimals)) %>
<%= unless @token.name =~ "SushiSwap LP Token on xDai" do %>
<%= ChainView.format_usd_value(Decimal.mult(@bridged_token.exchange_rate, divide_decimals(@token.total_supply, @token.decimals))) %>
<%= ChainView.format_usd_value(usd_val) %>
<% end %>
<% end %>
</span>

Loading…
Cancel
Save