mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-17 14:14:22 +01:00
Renames dispute_delta to to_self_delay and justice tx to penalty tx
Uses the naming convention followed by LN implementations and BOLTs
This commit is contained in:
@@ -69,11 +69,11 @@ class Builder:
|
||||
job = Job.from_dict(data)
|
||||
jobs[uuid] = job
|
||||
|
||||
if job.justice_txid in tx_job_map:
|
||||
tx_job_map[job.justice_txid].append(uuid)
|
||||
if job.penalty_txid in tx_job_map:
|
||||
tx_job_map[job.penalty_txid].append(uuid)
|
||||
|
||||
else:
|
||||
tx_job_map[job.justice_txid] = [uuid]
|
||||
tx_job_map[job.penalty_txid] = [uuid]
|
||||
|
||||
return jobs, tx_job_map
|
||||
|
||||
|
||||
Reference in New Issue
Block a user