mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-23 12:13:50 +02:00
multi: fix comment of InitPayment method
This commit is contained in:
@@ -47,8 +47,8 @@ type DBMPPayment interface {
|
|||||||
// restarts. Payments are transitioned through various payment states, and the
|
// restarts. Payments are transitioned through various payment states, and the
|
||||||
// ControlTower interface provides access to driving the state transitions.
|
// ControlTower interface provides access to driving the state transitions.
|
||||||
type ControlTower interface {
|
type ControlTower interface {
|
||||||
// This method checks that no succeeded payment exist for this payment
|
// InitPayment initializes a new payment with the given payment hash and
|
||||||
// hash.
|
// also notifies subscribers of the payment creation.
|
||||||
InitPayment(lntypes.Hash, *paymentsdb.PaymentCreationInfo) error
|
InitPayment(lntypes.Hash, *paymentsdb.PaymentCreationInfo) error
|
||||||
|
|
||||||
// DeleteFailedAttempts removes all failed HTLCs from the db. It should
|
// DeleteFailedAttempts removes all failed HTLCs from the db. It should
|
||||||
|
Reference in New Issue
Block a user