1
0

Create is_pairable() function and use it.

Fixes #1653.
This commit is contained in:
Neil Booth
2016-01-29 19:26:05 +09:00
parent b599172657
commit 412e2a8d2c
2 changed files with 4 additions and 1 deletions

View File

@@ -94,6 +94,9 @@ class TrezorClientBase(GuiMixin, PrintError):
'''True if initialized, False if wiped.'''
return self.features.initialized
def is_pairable(self):
return not client.features.bootloader_mode
@staticmethod
def expand_path(n):
'''Convert bip32 path to list of uint32 integers with prime flags