join association of nephew

pull/914/head
Gustavo Santos Ferreira 6 years ago
parent 8179cd9f3e
commit 4a941816dd
  1. 8
      apps/block_scout_web/lib/block_scout_web/controllers/address_validation_controller.ex

@ -15,7 +15,13 @@ defmodule BlockScoutWeb.AddressValidationController do
{:ok, address} <- Chain.hash_to_address(address_hash) do
full_options =
Keyword.merge(
[necessity_by_association: %{miner: :required, transactions: :optional}],
[
necessity_by_association: %{
miner: :required,
nephews: :optional,
transactions: :optional
}
],
paging_options(params)
)

Loading…
Cancel
Save