From 7a222d43fe373349b006ccf8c9d51519b7095840 Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Tue, 22 Oct 2019 15:09:47 +0100 Subject: [PATCH] Updates test cleaner and removes retry_counter for responder --- test/unit/test_cleaner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/test_cleaner.py b/test/unit/test_cleaner.py index 237a2e3..0fdf5df 100644 --- a/test/unit/test_cleaner.py +++ b/test/unit/test_cleaner.py @@ -45,14 +45,14 @@ def set_up_jobs(total_jobs): txid = urandom(32).hex() # Assign both justice_txid and dispute_txid the same id (it shouldn't matter) - jobs[uuid] = Job(txid, txid, None, None, None) + jobs[uuid] = Job(txid, txid, None, None) tx_job_map[txid] = [uuid] # Each justice_txid can have more than one uuid assigned to it. Do a coin toss to add multiple ones while random.randint(0, 1): uuid = uuid4().hex - jobs[uuid] = Job(txid, txid, None, None, None) + jobs[uuid] = Job(txid, txid, None, None) tx_job_map[txid].append(uuid) return jobs, tx_job_map