paymentsdb: add missing comments for variables

This commit is contained in:
ziggie committed 2025-08-14 19:53:18 +02:00
1 parent df9bac2ecf
commit e24ae0d7f3
1 file changed
+4
+4
View File
@@ -127,6 +127,8 @@ type KVPaymentsDB struct {
// db is the underlying database implementation.
db kvdb.Backend
// keepFailedPaymentAttempts is a flag that indicates whether we should
// keep failed payment attempts in the database.
keepFailedPaymentAttempts bool
}
@@ -158,6 +160,8 @@ func NewKVPaymentsDB(db kvdb.Backend,
}, nil
}
// paymentsTopLevelBuckets is a list of top-level buckets that are used for
// the payments database when using the kv store.
var paymentsTopLevelBuckets = [][]byte{
paymentsRootBucket,
paymentsIndexBucket,