Skip to content

Commit bf6131b

Browse files
committed
routing: Add comment to DeleteFailedAttempts func call
1 parent 039b599 commit bf6131b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

routing/payment_lifecycle.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,9 @@ lifecycle:
326326
// terminal condition. We either return the settled preimage or the
327327
// payment's failure reason.
328328
//
329-
// Optionally delete the failed attempts from the database.
329+
// Optionally delete the failed attempts from the database. Depends on
330+
// the database options deleting attempts is not allowed so this will
331+
// just be a no-op.
330332
err = p.router.cfg.Control.DeleteFailedAttempts(p.identifier)
331333
if err != nil {
332334
log.Errorf("Error deleting failed htlc attempts for payment "+

0 commit comments

Comments
 (0)