pull/1400/head
Ayrat Badykov 6 years ago
parent 21f1ec3ba2
commit 82c087fb68
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 3
      apps/explorer/lib/explorer/smart_contract/solidity/code_compiler.ex

@ -74,7 +74,8 @@ defmodule Explorer.SmartContract.Solidity.CodeCompiler do
)
with {:ok, contracts} <- Jason.decode(response),
%{"abi" => abi, "evm" => %{"deployedBytecode" => %{"object" => bytecode}}} <- get_contract_info(contracts, name) do
%{"abi" => abi, "evm" => %{"deployedBytecode" => %{"object" => bytecode}}} <-
get_contract_info(contracts, name) do
bytecode_with_libraries = add_library_addresses(bytecode, external_libs)
{:ok, %{"abi" => abi, "bytecode" => bytecode_with_libraries, "name" => name}}

Loading…
Cancel
Save