Plugins: pass wallet to settings_dialog
Also, remove settings_widget method. The widget should always be a button. nwc: is_initialized -> initialized
This commit is contained in:
@@ -44,7 +44,7 @@ class NWCServerPlugin(BasePlugin):
|
||||
def start_plugin(self, wallet: 'Abstract_Wallet'):
|
||||
if not wallet.has_lightning():
|
||||
return
|
||||
if self.is_initialized:
|
||||
if self.initialized:
|
||||
# this might be called for several wallets. only use one.
|
||||
return
|
||||
storage = self.get_plugin_storage(wallet)
|
||||
|
||||
Reference in New Issue
Block a user