check wallet type in installwizard_load_wallet hook
This commit is contained in:
@@ -147,6 +147,8 @@ class Plugin(BasePlugin):
|
||||
|
||||
@hook
|
||||
def installwizard_load_wallet(self, wallet, window):
|
||||
if type(wallet) != KeepKeyWallet:
|
||||
return
|
||||
self.load_wallet(wallet, window)
|
||||
|
||||
@hook
|
||||
|
||||
Reference in New Issue
Block a user