Only hide call type internal transactions

Co-authored-by: Stamates <stamates@hotmail.com>
pull/221/head
jimmay5469 7 years ago
parent 7932eeb2fc
commit e94c4701eb
  1. 4
      apps/explorer/lib/explorer/chain.ex

@ -1859,9 +1859,9 @@ defmodule Explorer.Chain do
|> where(
[it, transaction],
fragment(
"(? = ? OR (SELECT COUNT(sibling.id) FROM internal_transactions as sibling WHERE sibling.transaction_hash = ?) > 1)",
"(? != ? OR (SELECT COUNT(sibling.id) FROM internal_transactions as sibling WHERE sibling.transaction_hash = ?) > 1)",
it.type,
"create",
"call",
transaction.hash
)
)

Loading…
Cancel
Save