Skip to content

Commit

Permalink
Remove incorrect and unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kdmukai committed Jan 21, 2025
1 parent a90e7a6 commit defaed0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/seedsigner/models/decode_qr.py
Original file line number Diff line number Diff line change
Expand Up @@ -989,15 +989,12 @@ def add(self, segment, qr_type=QRType.BITCOIN_ADDRESS):
self.address_type = (SettingsConstants.NATIVE_SEGWIT, SettingsConstants.REGTEST)

elif addr_prefix == "bc1p":
# Native Segwit (single sig or multisig), mainnet
self.address_type = (SettingsConstants.TAPROOT, SettingsConstants.MAINNET)

elif addr_prefix == "tb1p":
# Native Segwit (single sig or multisig), testnet
self.address_type = (SettingsConstants.TAPROOT, SettingsConstants.TESTNET)

elif addr_prefix == "bcrt1p":
# Native Segwit (single sig or multisig), regtest
self.address_type = (SettingsConstants.TAPROOT, SettingsConstants.REGTEST)
# Note: there is no final "else" here because the regex won't return any other matches.

Expand Down

0 comments on commit defaed0

Please sign in to comment.