mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-17 22:24:23 +01:00
teos - Changes the behavior for updates of already triggered appointments
If an update for an already triggered appointment is received, it will be drop no matter if the locator is in the cache or not. This tries to prevent inconsistencies between the Watcher and the Responder, specially in the case of a reorg when data may have to flow backwards.
This commit is contained in:
@@ -259,7 +259,6 @@ def test_add_appointment(watcher):
|
||||
assert len(watcher.locator_uuid_map[appointment.locator]) == 2
|
||||
|
||||
|
||||
# WIP: ADD appointment with the different uses of the cache
|
||||
def test_add_appointment_in_cache(watcher):
|
||||
# Generate an appointment and add the dispute txid to the cache
|
||||
user_sk, user_pk = generate_keypair()
|
||||
|
||||
Reference in New Issue
Block a user