Browse Source

fix: do not request the same history twice

283
ThomasV 12 years ago
parent
commit
0f3b70ad88
  1. 1
      lib/wallet.py

1
lib/wallet.py

@ -1252,6 +1252,7 @@ class WalletSynchronizer(threading.Thread):
if method == 'blockchain.address.subscribe':
addr = params[0]
if self.wallet.get_status(self.wallet.get_history(addr)) != result:
if requested_histories.get(addr) is None:
self.interface.send([('blockchain.address.get_history', [addr])], 'synchronizer')
requested_histories[addr] = result

Loading…
Cancel
Save