From 4a941816dd03ebfa44998cc5fe021fac1856aaa2 Mon Sep 17 00:00:00 2001 From: Gustavo Santos Ferreira Date: Thu, 11 Oct 2018 10:31:54 -0300 Subject: [PATCH] join association of nephew --- .../controllers/address_validation_controller.ex | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/block_scout_web/lib/block_scout_web/controllers/address_validation_controller.ex b/apps/block_scout_web/lib/block_scout_web/controllers/address_validation_controller.ex index f16fefc516..2ded7ee13d 100644 --- a/apps/block_scout_web/lib/block_scout_web/controllers/address_validation_controller.ex +++ b/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) )