electrum

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

commit 4bce96526b6876638dbf70a486f175097b1f6e72
parent 8eaa1565959d49531754e15b4ea27d0c704f585d
Author: ThomasV <thomasv@gitorious>
Date:   Tue,  5 May 2015 14:59:56 +0200

follow up to c07e95612770c2e334c37834be2601d8651b66cb

Diffstat:
Mscripts/util.py | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/util.py b/scripts/util.py @@ -6,9 +6,9 @@ from electrum.network import filter_protocol, parse_servers def get_peers(): # 1. start interface and wait for connection - interface = electrum.Interface('ecdsa.net:110:s') q = Queue.Queue() - interface.start(q) + interface = electrum.Interface('ecdsa.net:110:s', q) + interface.start() i, r = q.get() if not interface.is_connected(): raise BaseException("not connected") @@ -25,7 +25,7 @@ def send_request(peers, request): # start interfaces q2 = Queue.Queue() config = SimpleConfig() - interfaces = map( lambda server: Interface(server, q2, config), peers ) + interfaces = map(lambda server: Interface(server, q2, config), peers) reached_servers = [] for i in interfaces: i.start()