From efa7ab9bf6bb937cd4abf5ebfb165c08fd7fccb8 Mon Sep 17 00:00:00 2001 From: Sachin Meier Date: Mon, 18 Mar 2024 10:51:14 -0400 Subject: [PATCH] revert syntax fix --- lib/address.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/address.ex b/lib/address.ex index f76ecdb..91ba9eb 100644 --- a/lib/address.ex +++ b/lib/address.ex @@ -15,7 +15,7 @@ defmodule Bitcoinex.Address do * p2wsh: Pay-To-Witness-Script-Hash """ @address_types ~w(p2pkh p2sh p2wpkh p2wsh p2tr)a - @type address_type :: unquote(AltoSupport.ElixirUtils.Macro.list_to_union_type_ast(@address_types)) + @type address_type :: :p2pkh | :p2sh | :p2wpkh | :p2wsh | :p2tr @doc """ Accepts a public key hash, network, and address_type and returns its address.