fix total supply rpc

pull/2473/head
Ayrat Badykov 5 years ago
parent ceb9de69af
commit 0b1655921d
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 2
      apps/block_scout_web/lib/block_scout_web/views/api/rpc/stats_view.ex

@ -4,7 +4,7 @@ defmodule BlockScoutWeb.API.RPC.StatsView do
alias BlockScoutWeb.API.RPC.RPCView
def render("tokensupply.json", token_supply) do
RPCView.render("show.json", data: token_supply)
RPCView.render("show.json", data: Decimal.to_string(token_supply))
end
def render("ethsupply.json", %{total_supply: total_supply}) do

Loading…
Cancel
Save