Browse Source

fix syntax error

283
ThomasV 9 years ago
parent
commit
2a29d1e5e7
  1. 2
      lib/websockets.py

2
lib/websockets.py

@ -97,7 +97,7 @@ class WsClientThread(util.DaemonThread):
elif method == 'blockchain.address.get_balance':
addr = params[0]
l = self.subscriptions.get(addr, [])
for ws, amount in :l:
for ws, amount in l:
if not ws.closed:
if sum(result.values()) >=amount:
ws.sendMessage(unicode('paid'))

Loading…
Cancel
Save