Merge branch 'master' into moritzwietersheim-patch-1

This commit is contained in:
k9ert 2023-03-09 09:23:47 +01:00 committed by GitHub
commit 7ca7a3ba36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View file

@ -6,9 +6,9 @@ class Trezor(HWIDevice):
device_type = "trezor"
name = "Trezor"
icon = "img/devices/trezor_icon.svg"
supports_hwi_toggle_passphrase = True
supports_hwi_multisig_display_address = True
taproot_support = True
@classmethod
def get_client(cls, *args, **kwargs):

View file

@ -725,11 +725,7 @@ class Node(AbstractNode):
@property
def taproot_support(self):
try:
# currently only master branch supports tr() descriptors
# TODO: replace to 220000
return (self.bitcoin_core_version_raw >= 219900) and (
self.info.get("softforks", {}).get("taproot", {}).get("active", False)
)
return self.bitcoin_core_version_raw >= 220000
except Exception as e:
logger.exception(e)
return False