Write proxy: remove redundant variable declaration: contract_type

pull/3160/head
Victor Baranov 4 years ago
parent 84471dab9e
commit 68b244dfb7
  1. 2
      apps/block_scout_web/lib/block_scout_web/controllers/smart_contract_controller.ex

@ -40,8 +40,6 @@ defmodule BlockScoutWeb.SmartContractController do
[]
end
contract_type = if Chain.is_proxy_contract?(address.smart_contract.abi), do: :proxy, else: :regular
conn
|> put_status(200)
|> put_layout(false)

Loading…
Cancel
Save