paymentsdb: add missing comments for variables

This commit is contained in:
ziggie
2025-08-13 12:43:07 +02:00
parent 3b55871818
commit 223b091ab7

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,