From cf61e6e265b19f96516055cca73bdd7f7c24489d Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Fri, 25 Oct 2019 20:29:34 +0100 Subject: [PATCH] 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 --- pisa/watcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisa/watcher.py b/pisa/watcher.py index 0c454a8..ad6dcb3 100644 --- a/pisa/watcher.py +++ b/pisa/watcher.py @@ -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)