4
0
Fork 0

Refactor mapping names in order to avoid conflicts

pull/11/head
Piotr Żelazko 7 years ago
parent 4a8487ae1d
commit fea7f19232
No known key found for this signature in database
GPG Key ID: 27E11A19853A7913
  1. 4
      lib/exw3.ex

@ -303,8 +303,8 @@ defmodule ExW3 do
defp map_abi(x) do
case {x["name"], x["type"]} do
{nil, "constructor"} -> {"constructor", x}
{nil, "fallback"} -> {"fallback", x}
{nil, "constructor"} -> {:constructor, x}
{nil, "fallback"} -> {:fallback, x}
{name, _} -> {name, x}
end
end

Loading…
Cancel
Save