self.subscriptions = []
self.address = ''
self.name = ''
+ self.version = 'unknown'
threading.Timer(2, self.info).start()
# Debugging method. Doesn't need to be threadsafe.
#print sub
method = sub[0]
if method == 'blockchain.address.subscribe':
- params = sub[1]
- addr = params[0]
+ addr = sub[1]
break
else:
addr = None
def build_subdesc(method, params):
if method == "blockchain.numblocks.subscribe":
return method,
- elif method == "blockchain.address.get_history":
+ elif method == "blockchain.address.subscribe":
if not params:
return None
else: