Skip to content

Commit

Permalink
revert syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SachinMeier committed Mar 18, 2024
1 parent c6ae30c commit efa7ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/address.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit efa7ab9

Please sign in to comment.