|
@ -321,7 +321,6 @@ class ElectrumWindow(App): |
|
|
|
|
|
|
|
|
App.__init__(self)#, **kwargs) |
|
|
App.__init__(self)#, **kwargs) |
|
|
|
|
|
|
|
|
title = _('Electrum App') |
|
|
|
|
|
self.electrum_config = config = kwargs.get('config', None) # type: SimpleConfig |
|
|
self.electrum_config = config = kwargs.get('config', None) # type: SimpleConfig |
|
|
self.language = config.get('language', 'en') |
|
|
self.language = config.get('language', 'en') |
|
|
self.network = network = kwargs.get('network', None) # type: Network |
|
|
self.network = network = kwargs.get('network', None) # type: Network |
|
@ -341,6 +340,8 @@ class ElectrumWindow(App): |
|
|
self.daemon = self.gui_object.daemon |
|
|
self.daemon = self.gui_object.daemon |
|
|
self.fx = self.daemon.fx |
|
|
self.fx = self.daemon.fx |
|
|
|
|
|
|
|
|
|
|
|
self.is_lightning_enabled = bool(config.get('lightning')) |
|
|
|
|
|
|
|
|
self.use_rbf = config.get('use_rbf', True) |
|
|
self.use_rbf = config.get('use_rbf', True) |
|
|
self.use_unconfirmed = not config.get('confirmed_only', False) |
|
|
self.use_unconfirmed = not config.get('confirmed_only', False) |
|
|
|
|
|
|
|
|