pull/2326/head
Ayrat Badykov 5 years ago
parent 5d2234d449
commit ac6317e810
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 3
      apps/explorer/lib/explorer/smart_contract/verifier/constructor_arguments.ex

@ -6,8 +6,7 @@ defmodule Explorer.SmartContract.Verifier.ConstructorArguments do
alias Explorer.Chain
def verify(address_hash, arguments_data) do
arguments_data =
arguments_data |> String.trim_trailing() |> String.trim_leading() |> String.replace("0x", "")
arguments_data = arguments_data |> String.trim_trailing() |> String.trim_leading() |> String.replace("0x", "")
address_hash
|> Chain.contract_creation_input_data()

Loading…
Cancel
Save