Merge pull request #914 from poanetwork/gsf-blocks-validated-tab-for-miner-crashing

Blocks validated tab for miner crashing
pull/910/head
Andrew Cravenho 6 years ago committed by GitHub
commit ae6cf0faa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      apps/block_scout_web/lib/block_scout_web/controllers/address_validation_controller.ex
  2. 2
      apps/block_scout_web/lib/block_scout_web/templates/address_validation/index.html.eex

@ -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)
)

@ -108,7 +108,7 @@
<h2 class="card-title"><%=gettext("Blocks Validated")%></h2>
<span data-selector="validations-list">
<%= for block <- @blocks do %>
<%= render BlockScoutWeb.BlockView, "_tile.html", block: block %>
<%= render BlockScoutWeb.BlockView, "_tile.html", block: block, block_type: BlockScoutWeb.BlockView.block_type(block)%>
<% end %>
</span>
<div>

Loading…
Cancel
Save