wtdb/migration8: migrate channel max heights
This commit is contained in:
7 files changed
+1310
No files matched your search
@@ -12,6 +12,7 @@ import (
|
||||
"github.com/lightningnetwork/lnd/watchtower/wtdb/migration5"
|
||||
"github.com/lightningnetwork/lnd/watchtower/wtdb/migration6"
|
||||
"github.com/lightningnetwork/lnd/watchtower/wtdb/migration7"
|
||||
"github.com/lightningnetwork/lnd/watchtower/wtdb/migration8"
|
||||
)
|
||||
|
||||
// txMigration is a function which takes a prior outdated version of the
|
||||
@@ -67,6 +68,9 @@ var clientDBVersions = []version{
|
||||
{
|
||||
txMigration: migration7.MigrateChannelToSessionIndex,
|
||||
},
|
||||
{
|
||||
txMigration: migration8.MigrateChannelMaxHeights,
|
||||
},
|
||||
}
|
||||
|
||||
// getLatestDBVersion returns the last known database version.
|
||||
|
||||
Reference in new issue
Block a user