mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-17 06:04:21 +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):
|
||||
"""Starts a new thread to monitor the blockchain for channel breaches"""
|
||||
|
||||
Reference in New Issue
Block a user