fix: external library is only for verified contract

pull/2264/head
Victor Baranov 5 years ago
parent 908402151a
commit 85b76342a4
  1. 3
      apps/block_scout_web/lib/block_scout_web/templates/address_contract/index.html.eex

@ -109,6 +109,7 @@
<% end %>
</section>
<%= if BlockScoutWeb.AddressView.smart_contract_verified?(@address) do %>
<%= if @address.smart_contract.external_libraries && @address.smart_contract.external_libraries != [] do %>
<section>
<div class="d-flex justify-content-between align-items-baseline">
@ -120,7 +121,7 @@
</div>
</section>
<% end %>
<% end %>
</div>
</div>
</section>

Loading…
Cancel
Save