Add nil handle

pull/6642/head
Никита Поздняков 2 years ago
parent 8b26b16184
commit 72e212961c
No known key found for this signature in database
GPG Key ID: F344106F9804FE5F
  1. 2
      apps/explorer/lib/explorer/smart_contract/reader.ex

@ -618,6 +618,8 @@ defmodule Explorer.SmartContract.Reader do
end end
end end
defp parse_item(nil), do: nil
defp parse_item("true"), do: true defp parse_item("true"), do: true
defp parse_item("false"), do: false defp parse_item("false"), do: false

Loading…
Cancel
Save