channeldb/db: add comment describing migration

This commit is contained in:
Conner Fromknecht 2018-08-10 13:59:20 -07:00
parent 76dbe670cb
commit 79a4203346
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -68,8 +68,9 @@ var (
migration: migrateEdgePolicies, migration: migrateEdgePolicies,
}, },
{ {
// The version with added payment statuses // The DB version where we persist each attempt to send
// for each existing payment // an HTLC to a payment hash, and track whether the
// payment is in-flight, succeeded, or failed.
number: 5, number: 5,
migration: paymentStatusesMigration, migration: paymentStatusesMigration,
}, },