Skip to content

Commit

Permalink
SFT-967: added taproot to address explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
mjg-foundation committed Dec 11, 2023
1 parent e50fa10 commit 26ea735
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@


from pages import ChooserPage
from public_constants import AF_P2WPKH, AF_P2WPKH_P2SH, AF_CLASSIC
from public_constants import AF_P2WPKH, AF_P2WPKH_P2SH, AF_CLASSIC, AF_P2TR


class AddressTypeChooserPage(ChooserPage):
OPTIONS = [
{'label': 'Segwit', 'value': AF_P2WPKH},
{'label': 'Wrapped Segwit', 'value': AF_P2WPKH_P2SH},
{'label': 'Legacy', 'value': AF_CLASSIC},
{'label': 'Taproot', 'value': AF_P2TR},
]

def __init__(self, card_header={'title': 'Address Type'}, initial_value=None):
Expand Down

0 comments on commit 26ea735

Please sign in to comment.