electrum

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

commit cf0fcac9faa053ca8bf86e47f15aaaa64ff6f1e5
parent 3b8184cef3a2014028ef18c8625c975375a468fc
Author: ThomasV <thomasv@gitorious>
Date:   Sat, 28 Mar 2015 19:17:07 +0100

fix deserialize_server bug

Diffstat:
Mlib/network.py | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lib/network.py b/lib/network.py @@ -236,7 +236,10 @@ class Network(util.DaemonThread): else: out = DEFAULT_SERVERS for s in self.recent_servers: - host, port, protocol = deserialize_server(s) + try: + host, port, protocol = deserialize_server(s) + except: + continue if host not in out: out[host] = { protocol:port } return out