From 0498c51ec54c22b241afc812ba797ef87eab2925 Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Thu, 2 Apr 2020 09:57:09 +0200 Subject: [PATCH] Fixes last known block initialization on Watcher --- teos/watcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teos/watcher.py b/teos/watcher.py index eefbd0f..7ce65bf 100644 --- a/teos/watcher.py +++ b/teos/watcher.py @@ -71,7 +71,7 @@ class Watcher: self.max_appointments = max_appointments self.expiry_delta = expiry_delta self.signing_key = Cryptographer.load_private_key_der(sk_der) - self.last_known_block = db_manager.load_last_block_hash_responder() + self.last_known_block = db_manager.load_last_block_hash_watcher() def awake(self): watcher_thread = Thread(target=self.do_watch, daemon=True)