Skip to content

Commit

Permalink
Merge pull request #20 from mikemcdonald/mike/verification-fix
Browse files Browse the repository at this point in the history
update deserialization for new tx format
  • Loading branch information
barakshani authored Apr 21, 2022
2 parents 35c3c3e + 333a29e commit 0993241
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ defmodule Explorer.SmartContract.Solidity.Verifier do
defp deserialize_creation_tx(calldata) do
raw = calldata |> ExRLP.decode(encoding: :hex)
data = Enum.at(raw, 5) |> to_hex()
factoryDeps = Enum.at(Enum.at(raw, 16), 0) |> to_hex()
factoryDeps = Enum.at(Enum.at(raw, 14), 0) |> to_hex()
%{"data" => data, "factoryDeps" => factoryDeps}
end

Expand Down

0 comments on commit 0993241

Please sign in to comment.