From 46500f94e09085b9e86dc122dab0cb13b4f7016a Mon Sep 17 00:00:00 2001 From: ziggie Date: Wed, 13 Aug 2025 13:45:10 +0200 Subject: [PATCH] multi: fix comment of InitPayment method --- routing/control_tower.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routing/control_tower.go b/routing/control_tower.go index dd984c912..fcbfbe80e 100644 --- a/routing/control_tower.go +++ b/routing/control_tower.go @@ -47,8 +47,8 @@ type DBMPPayment interface { // restarts. Payments are transitioned through various payment states, and the // ControlTower interface provides access to driving the state transitions. type ControlTower interface { - // This method checks that no succeeded payment exist for this payment - // hash. + // InitPayment initializes a new payment with the given payment hash and + // also notifies subscribers of the payment creation. InitPayment(lntypes.Hash, *paymentsdb.PaymentCreationInfo) error // DeleteFailedAttempts removes all failed HTLCs from the db. It should