1
0

allow to use exchange rates while offline

This commit is contained in:
ThomasV
2018-02-14 10:40:11 +01:00
parent cc19de9db3
commit b2c0350240
3 changed files with 29 additions and 9 deletions

View File

@@ -121,13 +121,12 @@ class Daemon(DaemonThread):
self.config = config
if config.get('offline'):
self.network = None
self.fx = None
else:
self.network = Network(config)
self.network.start()
self.fx = FxThread(config, self.network)
self.fx = FxThread(config, self.network)
if self.network:
self.network.add_jobs([self.fx])
self.gui = None
self.wallets = {}
# Setup JSONRPC server