Remove unused var

pull/3224/head
Victor Baranov 4 years ago
parent a5b9621a72
commit 46f7584ec7
  1. 5
      apps/explorer/lib/explorer/chain.ex

@ -1719,13 +1719,12 @@ defmodule Explorer.Chain do
""" """
@spec list_top_tokens :: [{Token.t(), non_neg_integer()}] @spec list_top_tokens :: [{Token.t(), non_neg_integer()}]
def list_top_tokens(options \\ []) do def list_top_tokens(options \\ []) do
necessity_by_association = Keyword.get(options, :necessity_by_association, %{})
paging_options = Keyword.get(options, :paging_options, @default_paging_options) paging_options = Keyword.get(options, :paging_options, @default_paging_options)
fetch_top_tokens(paging_options, necessity_by_association) fetch_top_tokens(paging_options)
end end
defp fetch_top_tokens(paging_options, necessity_by_association) do defp fetch_top_tokens(paging_options) do
base_query = base_query =
from(t in Token, from(t in Token,
where: t.total_supply > ^0, where: t.total_supply > ^0,

Loading…
Cancel
Save