Browse Source

revert adding handling of 'blockchain.address.subscribe' in network.py

3.1
SomberNight 7 years ago
parent
commit
fbad16b95c
  1. 3
      lib/network.py

3
lib/network.py

@ -604,9 +604,6 @@ class Network(util.DaemonThread):
elif method == 'blockchain.scripthash.subscribe': elif method == 'blockchain.scripthash.subscribe':
response['params'] = [params[0]] # addr response['params'] = [params[0]] # addr
response['result'] = params[1] response['result'] = params[1]
elif method == 'blockchain.address.subscribe':
response['params'] = [params[0]]
response['result'] = params[1]
callbacks = self.subscriptions.get(k, []) callbacks = self.subscriptions.get(k, [])
# update cache if it's a subscription # update cache if it's a subscription

Loading…
Cancel
Save