From 79a42033467b201d139da67d84ba8740e767d1ba Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Fri, 10 Aug 2018 13:59:20 -0700 Subject: [PATCH] channeldb/db: add comment describing migration --- channeldb/db.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/channeldb/db.go b/channeldb/db.go index c90d4885..939bbdcb 100644 --- a/channeldb/db.go +++ b/channeldb/db.go @@ -68,8 +68,9 @@ var ( migration: migrateEdgePolicies, }, { - // The version with added payment statuses - // for each existing payment + // The DB version where we persist each attempt to send + // an HTLC to a payment hash, and track whether the + // payment is in-flight, succeeded, or failed. number: 5, migration: paymentStatusesMigration, },