From 53f0bafaba2159cdb18070bacd14cda8bc77c0f8 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Tue, 26 Mar 2019 14:26:50 +0300 Subject: [PATCH] use correct type for evm_version --- .../controllers/address_contract_verification_controller.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/block_scout_web/lib/block_scout_web/controllers/address_contract_verification_controller.ex b/apps/block_scout_web/lib/block_scout_web/controllers/address_contract_verification_controller.ex index 23765f97aa..75cda8c965 100644 --- a/apps/block_scout_web/lib/block_scout_web/controllers/address_contract_verification_controller.ex +++ b/apps/block_scout_web/lib/block_scout_web/controllers/address_contract_verification_controller.ex @@ -29,7 +29,7 @@ defmodule BlockScoutWeb.AddressContractVerificationController do "evm_version" => evm_version } ) do - smart_sontact_with_evm_version = Map.put(smart_contract, "evm_version", evm_version) + smart_sontact_with_evm_version = Map.put(smart_contract, "evm_version", evm_version["evm_version"]) case Publisher.publish(address_hash_string, smart_sontact_with_evm_version, external_libraries) do {:ok, _smart_contract} ->