From 630c3f6e0c6821e21d334d911b36a981440b1f75 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 337fcc0..f5e7cf8 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): """Starts a new thread to monitor the blockchain for channel breaches"""