Reports the block hash to the responder on adding response

The responder can use the block hash to figure out whether or not he is on sync
This commit is contained in:
Sergi Delgado Segura
2019-10-25 20:29:34 +01:00
parent 5bf96a10c5
commit cf61e6e265

View File

@@ -122,7 +122,7 @@ class Watcher:
locator=locator, uuid=uuid)
self.responder.add_response(uuid, dispute_txid, justice_txid, justice_rawtx,
self.appointments[uuid].end_time)
self.appointments[uuid].end_time, block_hash)
# Delete the appointment
appointment = self.appointments.pop(uuid)