lnd/watchtower/wtdb/migration5
Elle Mouton f6ef3db6ea
watchtower/wtdb: add tower-to-session index entry for all towers
In this commit, a small migration is added to the watchtower client DB
to ensure that there is an entry in the towerID-to-sessionID index for
all towers in the db regardless of if they have sessions or not. This is
required as a follow up to migration 1 since that migration only created
entries in the index for towers that had associated sessions which would
lead to "tower not found" errors on start up.
2023-03-08 11:00:40 +02:00
..
client_db_test.go watchtower/wtdb: add tower-to-session index entry for all towers 2023-03-08 11:00:40 +02:00
client_db.go watchtower/wtdb: add tower-to-session index entry for all towers 2023-03-08 11:00:40 +02:00
codec.go watchtower/wtdb: add tower-to-session index entry for all towers 2023-03-08 11:00:40 +02:00
log.go watchtower/wtdb: add tower-to-session index entry for all towers 2023-03-08 11:00:40 +02:00