Fixes format for line breaks

This commit is contained in:
Sergi Delgado Segura
2019-12-09 19:23:57 +01:00
parent a8f4bfc1ee
commit 6a5a23a1d6

View File

@@ -13,8 +13,8 @@ class Appointment:
start_time (int): The block height at which the tower is hired to start watching for breaches.
end_time (int): The block height at which the tower will stop watching for breaches.
dispute_delta (int): The `to_self_delay` encoded in the CSV of the HTLC that this appointment is covering.
encrypted_blob (EncryptedBlob): An `EncryptedBlob` object containing an encrypted penalty transaction. The tower
will decrypt it and broadcast the penalty transaction upon seeing a breach on the blockchain.
encrypted_blob (EncryptedBlob): An `EncryptedBlob` object containing an encrypted penalty transaction.
The tower will decrypt it and broadcast the penalty transaction upon seeing a breach on the blockchain.
"""
# DISCUSS: 35-appointment-checks
@@ -86,8 +86,8 @@ class Appointment:
Args:
triggered (bool): Whether the dispute has been triggered or not. When an appointment passes from the
`Watcher` to the `Responder` it is not deleted straightaway. Instead, the appointment is stored in the DB
flagged as triggered. This aims to ease handling block reorgs in the future.
`Watcher` to the `Responder` it is not deleted straightaway. Instead, the appointment is stored in the
DB flagged as triggered. This aims to ease handling block reorgs in the future.
Returns:
appointment (str): A json-encoded str representing the appointment.