revert adding handling of 'blockchain.address.subscribe' in network.py
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user