connector

This commit is contained in:
4tochka 2019-05-10 18:45:28 +04:00
parent cd6b8fc088
commit fc1edf1707

View File

@ -210,11 +210,11 @@ class Worker:
t = 0
batch = list()
h_list = list()
rpc_batch_limit = 50
# rpc_batch_limit = 50
while True:
batch.append(["getblockhash", height])
h_list.append(height)
if len(batch) >= rpc_batch_limit:
if len(batch) >= self.rpc_batch_limit:
height += 1
break
height += 1