Plugins manage their own wallet tracking
This commit is contained in:
@@ -93,6 +93,10 @@ class Plugin(BasePlugin):
|
||||
QMessageBox.information(window, _('Error'), _("Ledger device not detected.\nContinuing in watching-only mode."), _('OK'))
|
||||
self.wallet.force_watching_only = True
|
||||
|
||||
@hook
|
||||
def close_wallet(self):
|
||||
self.wallet = None
|
||||
|
||||
@hook
|
||||
def installwizard_load_wallet(self, wallet, window):
|
||||
if type(wallet) != BTChipWallet:
|
||||
|
||||
Reference in New Issue
Block a user