gui should always use daemon if it is running
This commit is contained in:
4
electrum
4
electrum
@@ -221,8 +221,8 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
# network interface
|
# network interface
|
||||||
if not options.offline:
|
if not options.offline:
|
||||||
if options.daemon:
|
s = daemon_socket(start_daemon=options.daemon)
|
||||||
s = daemon_socket()
|
if s:
|
||||||
network = NetworkProxy(s, config)
|
network = NetworkProxy(s, config)
|
||||||
network.start()
|
network.start()
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user