channeldb/migrations: migrate ChannelCloseSummary

This commit is contained in:
Johan T. Halseth committed 2018-11-21 10:27:58 +01:00
1 parent 28b15dcbbb
commit 46c961aa17
2 files changed
+44

No files matched your search

+7
View File
@@ -80,6 +80,13 @@ var (
number: 6,
migration: migratePruneEdgeUpdateIndex,
},
{
// The DB version that migrates the ChannelCloseSummary
// to a format where optional fields are indicated with
// boolean flags.
number: 7,
migration: migrateOptionalChannelCloseSummaryFields,
},
}
// Big endian is the preferred byte order, due to cursor scans over