multi: fix comment of InitPayment method

This commit is contained in:
ziggie
2025-08-13 13:45:10 +02:00
parent 9f824fe1ee
commit 46500f94e0

View File

@@ -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