Skip to content

Commit

Permalink
add p2tr to address_type to fix dialyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
SachinMeier committed Mar 14, 2024
1 parent c123764 commit 4092ff7
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 @@ -14,7 +14,7 @@ defmodule Bitcoinex.Address do
* p2wpkh: Pay-to-Witness-Public-Key-Hash
* p2wsh: Pay-To-Witness-Script-Hash
"""
@type address_type :: :p2pkh | :p2sh | :p2wpkh | :p2wsh
@type address_type :: :p2pkh | :p2sh | :p2wpkh | :p2wsh | :p2tr
@address_types ~w(p2pkh p2sh p2wpkh p2wsh p2tr)a

@doc """
Expand Down

0 comments on commit 4092ff7

Please sign in to comment.