From fea7f19232c369661e7b3744e61f66a672ce12f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20=C5=BBelazko?= Date: Wed, 29 Aug 2018 19:04:19 +0200 Subject: [PATCH] Refactor mapping names in order to avoid conflicts --- lib/exw3.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/exw3.ex b/lib/exw3.ex index 2a1519f..c55f016 100644 --- a/lib/exw3.ex +++ b/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