Fixes based on DBManager unit tests

This commit is contained in:
Sergi Delgado Segura
2019-10-29 14:52:27 -07:00
parent a385fa16a9
commit bc7c7dc26f
3 changed files with 16 additions and 7 deletions

View File

@@ -141,7 +141,7 @@ class Watcher:
self.db_manager.store_watcher_appointment(uuid, appointment.to_json())
# Register the last processed block for the watcher
self.db_manager.store_last_block_watcher(block_hash)
self.db_manager.store_last_block_hash_watcher(block_hash)
# Go back to sleep if there are no more appointments
self.asleep = True