electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 854f49fbeddd78df4be4bacde768a65109425494
parent f62299097db0fb9adeaa3dc5d7f7a71f1e519e95
Author: ThomasV <thomasv@gitorious>
Date:   Sun, 17 Aug 2014 11:48:46 +0200

fix number of interfaces being opened

Diffstat:
Mlib/network.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/network.py b/lib/network.py @@ -378,7 +378,7 @@ class Network(threading.Thread): i, response = self.queue.get(timeout=0.1) except Queue.Empty: - if len(self.interfaces) < self.num_server: + if len(self.interfaces) + len(self.pending_servers) < self.num_server: self.start_random_interface() if not self.interfaces: if time.time() - self.disconnected_time > DISCONNECTED_RETRY_INTERVAL: