pull/2642/head
Ayrat Badykov 5 years ago
parent 586914d199
commit f47e21e5e4
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 2
      apps/block_scout_web/lib/block_scout_web/controllers/tokens/instance_controller.ex

@ -7,7 +7,7 @@ defmodule BlockScoutWeb.Tokens.InstanceController do
with {:ok, hash} <- Chain.string_to_address_hash(token_address_hash), with {:ok, hash} <- Chain.string_to_address_hash(token_address_hash),
{:ok, _token_address} <- Chain.token_from_address_hash(hash, []), {:ok, _token_address} <- Chain.token_from_address_hash(hash, []),
{:ok, _token_transfer} <- {:ok, _token_transfer} <-
Chain.erc721_token_instance_from_token_id_and_token_address(token_id, hash) |> IO.inspect() do Chain.erc721_token_instance_from_token_id_and_token_address(token_id, hash) do
redirect(conn, to: token_instance_transfer_path(conn, :index, token_id, token_address_hash)) redirect(conn, to: token_instance_transfer_path(conn, :index, token_id, token_address_hash))
else else
_ -> _ ->

Loading…
Cancel
Save