Skip to content

Commit

Permalink
Merge #751: fix typo on type of address
Browse files Browse the repository at this point in the history
ef99ef0 fix typo on type of address (Bruno Garcia)

Pull request description:

  Fixes #717

ACKs for top commit:
  achow101:
    ACK ef99ef0

Tree-SHA512: 9a5fb91de0eca6e80cf8c40a4b49cf15f740ed50f8dbff25805b463becab34a14644e7465f51b80e840c9ee9013895555394e37b91d9ff6401179e728be262fd
  • Loading branch information
achow101 committed Sep 4, 2024
2 parents a90e109 + ef99ef0 commit 5fea2e4
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 5fea2e4

Please sign in to comment.