pull/1876/head
saneery 6 years ago
parent 29815b2fc0
commit 7ce2a8fb74
  1. 2
      apps/explorer/lib/explorer/chain.ex

@ -1961,7 +1961,7 @@ defmodule Explorer.Chain do
if is_nil(cached_value) do if is_nil(cached_value) do
%Postgrex.Result{rows: [[rows]]} = %Postgrex.Result{rows: [[rows]]} =
SQL.query!(Repo, "SELECT count_estimate('SELECT 1 FROM blocks WHERE consensus = true');") |> IO.inspect() SQL.query!(Repo, "SELECT count_estimate('SELECT 1 FROM blocks WHERE consensus = true');")
rows rows
else else

Loading…
Cancel
Save