HardwareWalletClient: store fingerprint
This commit is contained in:
parent
0ec664dba7
commit
6fc1524217
@ -58,6 +58,7 @@ def find_device(device_path, password='', device_type=None, fingerprint=None):
|
||||
client.close()
|
||||
continue
|
||||
else:
|
||||
client.fingerprint = master_fpr
|
||||
return client
|
||||
except:
|
||||
if client:
|
||||
|
||||
@ -8,6 +8,7 @@ class HardwareWalletClient(object):
|
||||
self.password = password
|
||||
self.message_magic = b"\x18Bitcoin Signed Message:\n"
|
||||
self.is_testnet = False
|
||||
self.fingerprint = None
|
||||
|
||||
# Get the master BIP 44 pubkey
|
||||
def get_master_xpub(self):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user