Handle ':error.types/0 is undefined' error

pull/8515/head
Nikita Pozdniakov 1 year ago
parent 1457833199
commit ceb9bab651
No known key found for this signature in database
GPG Key ID: F344106F9804FE5F
  1. 6
      apps/explorer/lib/explorer/chain/transaction.ex

@ -756,12 +756,12 @@ defmodule Explorer.Chain.Transaction do
end
defp find_and_decode(abi, data, hash) do
result =
with {%FunctionSelector{}, _mapping} = result <-
abi
|> ABI.parse_specification()
|> ABI.find_and_decode(data)
|> ABI.find_and_decode(data) do
{:ok, result}
end
rescue
e ->
Logger.warn(fn ->

Loading…
Cancel
Save