From 5748c73da3a2679817893e70029ecfe06968905c Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Fri, 12 Jun 2020 12:10:57 +0200 Subject: [PATCH] plugin - Adds start_block log after an accepted appointment --- watchtower-plugin/net/http.py | 1 + 1 file changed, 1 insertion(+) diff --git a/watchtower-plugin/net/http.py b/watchtower-plugin/net/http.py index ea31833..aff661c 100644 --- a/watchtower-plugin/net/http.py +++ b/watchtower-plugin/net/http.py @@ -18,6 +18,7 @@ def add_appointment(plugin, tower_id, tower, appointment_dict, signature): response = send_appointment(tower_id, tower, appointment_dict, signature) plugin.log(f"Appointment accepted and signed by {tower_id}") plugin.log(f"Remaining slots: {response.get('available_slots')}") + plugin.log(f"Start block: {response.get('start_block')}") # # TODO: Not storing the whole appointments for now. The node can recreate all the data if needed. # # DISCUSS: It may be worth checking that the available slots match instead of blindly trusting.