mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-23 00:04:57 +02:00
channeldb+migration26: migrate balance fields into tlv records
This commit is contained in:
@@ -20,6 +20,7 @@ import (
|
||||
"github.com/lightningnetwork/lnd/channeldb/migration23"
|
||||
"github.com/lightningnetwork/lnd/channeldb/migration24"
|
||||
"github.com/lightningnetwork/lnd/channeldb/migration25"
|
||||
"github.com/lightningnetwork/lnd/channeldb/migration26"
|
||||
"github.com/lightningnetwork/lnd/channeldb/migration_01_to_11"
|
||||
"github.com/lightningnetwork/lnd/clock"
|
||||
"github.com/lightningnetwork/lnd/kvdb"
|
||||
@@ -212,6 +213,12 @@ var (
|
||||
number: 25,
|
||||
migration: migration25.MigrateInitialBalances,
|
||||
},
|
||||
{
|
||||
// Migrate the initial local/remote balance fields into
|
||||
// tlv records.
|
||||
number: 26,
|
||||
migration: migration26.MigrateBalancesToTlvRecords,
|
||||
},
|
||||
}
|
||||
|
||||
// Big endian is the preferred byte order, due to cursor scans over
|
||||
|
Reference in New Issue
Block a user