From bf6131ba02baa4d59f143b5a6e1b4969066cc982 Mon Sep 17 00:00:00 2001 From: ziggie Date: Wed, 20 Aug 2025 09:06:21 +0200 Subject: [PATCH] routing: Add comment to DeleteFailedAttempts func call --- routing/payment_lifecycle.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/routing/payment_lifecycle.go b/routing/payment_lifecycle.go index cc92a8be1..7c9c0418a 100644 --- a/routing/payment_lifecycle.go +++ b/routing/payment_lifecycle.go @@ -326,7 +326,9 @@ lifecycle: // terminal condition. We either return the settled preimage or the // payment's failure reason. // - // Optionally delete the failed attempts from the database. + // Optionally delete the failed attempts from the database. Depends on + // the database options deleting attempts is not allowed so this will + // just be a no-op. err = p.router.cfg.Control.DeleteFailedAttempts(p.identifier) if err != nil { log.Errorf("Error deleting failed htlc attempts for payment "+