Account failed transactions in total fee calculator

pull/4205/head
Viktor Baranov 4 years ago
parent 4dfaed9394
commit ce876e09fa
  1. 1
      apps/explorer/lib/explorer/chain/transaction/history/historian.ex

@ -70,7 +70,6 @@ defmodule Explorer.Chain.Transaction.History.Historian do
join: block in Block,
on: transaction.block_hash == block.hash,
where: block.consensus == true,
where: transaction.status == ^1,
select: fragment("SUM(? * ?)", transaction.gas_price, transaction.gas_used)
)

Loading…
Cancel
Save