1
0

fixes for hardware wallets

This commit is contained in:
ThomasV
2016-08-24 19:37:29 +02:00
parent 665d1bc153
commit 6b0e65fc0a
2 changed files with 5 additions and 7 deletions

View File

@@ -48,7 +48,6 @@ class HW_PluginBase(BasePlugin):
@hook
def close_wallet(self, wallet):
keystore = wallet.get_keystore()
if isinstance(keystore, self.keystore_class):
self.device_manager().unpair_xpub(keystore.xpub)
for keystore in wallet.get_keystores():
if isinstance(keystore, self.keystore_class):
self.device_manager().unpair_xpub(keystore.xpub)