fix: wait_for_network
This commit is contained in:
parent
6a7e13b63b
commit
d8626793bc
|
@ -1578,7 +1578,7 @@ class Wallet:
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
|
|
||||||
def wait_for_network():
|
def wait_for_network():
|
||||||
while not self.network.interface.is_connected:
|
while not self.network.is_connected():
|
||||||
msg = "%s \n" % (_("Connecting..."))
|
msg = "%s \n" % (_("Connecting..."))
|
||||||
apply(callback, (msg,))
|
apply(callback, (msg,))
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
|
|
Loading…
Reference in New Issue