Skip to content

Commit

Permalink
fix typo on type of address
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoerg committed Aug 30, 2024
1 parent 3322cab commit ef99ef0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hwilib/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class AddressType(Enum):
The type of address to use
"""
LEGACY = 1 #: Legacy address type. P2PKH for single sig, P2SH for scripts.
WIT = 2 #: Native segwit v0 address type. P2WPKH for single sig, P2WPSH for scripts.
SH_WIT = 3 #: Nested segwit v0 address type. P2SH-P2WPKH for single sig, P2SH-P2WPSH for scripts.
WIT = 2 #: Native segwit v0 address type. P2WPKH for single sig, P2WSH for scripts.
SH_WIT = 3 #: Nested segwit v0 address type. P2SH-P2WPKH for single sig, P2SH-P2WSH for scripts.
TAP = 4 #: Segwit v1 Taproot address type. P2TR always.

def __str__(self) -> str:
Expand Down

0 comments on commit ef99ef0

Please sign in to comment.