From 223b091ab7b3d2818f46b4341334e240384398ca Mon Sep 17 00:00:00 2001 From: ziggie Date: Wed, 13 Aug 2025 12:43:07 +0200 Subject: [PATCH] paymentsdb: add missing comments for variables --- payments/db/kv_store.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/payments/db/kv_store.go b/payments/db/kv_store.go index 02ba64933..afc7dec0a 100644 --- a/payments/db/kv_store.go +++ b/payments/db/kv_store.go @@ -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,