Store the daemon's network on the stdio GUI object
This commit is contained in:
parent
10d26806d9
commit
9036d9e8f7
|
@ -14,7 +14,7 @@ class ElectrumGui:
|
||||||
|
|
||||||
def __init__(self, config, daemon, plugins):
|
def __init__(self, config, daemon, plugins):
|
||||||
self.config = config
|
self.config = config
|
||||||
network = daemon.network
|
self.network = daemon.network
|
||||||
storage = WalletStorage(config.get_wallet_path())
|
storage = WalletStorage(config.get_wallet_path())
|
||||||
if not storage.file_exists:
|
if not storage.file_exists:
|
||||||
print "Wallet not found. try 'electrum create'"
|
print "Wallet not found. try 'electrum create'"
|
||||||
|
|
Loading…
Reference in New Issue