1
0

No need to pass daemon and network together

The daemon has the network
This commit is contained in:
Neil Booth
2016-01-29 22:25:59 +09:00
parent 0a1b3eac9c
commit 58d5215e2e
8 changed files with 14 additions and 15 deletions

View File

@@ -38,9 +38,9 @@ from main_window import ElectrumWindow
class ElectrumGui:
def __init__(self, config, network, daemon, plugins):
def __init__(self, config, daemon, plugins):
Logger.debug('ElectrumGUI: initialising')
self.network = network
self.network = daemon.network
self.config = config
self.plugins = plugins
set_language(config.get('language'))