use correct type for evm_version

pull/1650/head
Ayrat Badykov 6 years ago
parent 2d99fb5c79
commit 53f0bafaba
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 2
      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} ->

Loading…
Cancel
Save