mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-21 16:14:24 +01:00
Fixes last known block initialization on Watcher
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user