mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-17 14:14:22 +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.max_appointments = max_appointments
|
||||||
self.expiry_delta = expiry_delta
|
self.expiry_delta = expiry_delta
|
||||||
self.signing_key = Cryptographer.load_private_key_der(sk_der)
|
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):
|
def awake(self):
|
||||||
"""Starts a new thread to monitor the blockchain for channel breaches"""
|
"""Starts a new thread to monitor the blockchain for channel breaches"""
|
||||||
|
|||||||
Reference in New Issue
Block a user