Skip to content

Commit 3a573e0

Browse files
committed
multi: fix linter
1 parent 09c0d03 commit 3a573e0

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

payments/interface.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import (
88
)
99

1010
// PaymentDB is the interface that represents the underlying payments database.
11+
//
12+
//nolint:interfacebloat
1113
type PaymentDB interface {
1214
// QueryPayments queries the payments database and should support
1315
// pagination.
@@ -39,7 +41,7 @@ type PaymentDB interface {
3941
*channeldb.HTLCAttemptInfo) (*channeldb.MPPayment, error)
4042

4143
// SettleAttempt marks the given attempt settled with the preimage. If
42-
// this is a multi shard payment, this might implicitly mean the the
44+
// this is a multi shard payment, this might implicitly mean the
4345
// full payment succeeded.
4446
//
4547
// After invoking this method, InitPayment should always return an

routing/control_tower.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ type ControlTower interface {
6161
RegisterAttempt(lntypes.Hash, *channeldb.HTLCAttemptInfo) error
6262

6363
// SettleAttempt marks the given attempt settled with the preimage. If
64-
// this is a multi shard payment, this might implicitly mean the the
65-
// full payment succeeded.
64+
// this is a multi shard payment, this might implicitly mean the full
65+
// payment succeeded.
6666
//
6767
// After invoking this method, InitPayment should always return an
6868
// error to prevent us from making duplicate payments to the same
@@ -233,8 +233,8 @@ func (p *controlTower) RegisterAttempt(paymentHash lntypes.Hash,
233233
}
234234

235235
// SettleAttempt marks the given attempt settled with the preimage. If
236-
// this is a multi shard payment, this might implicitly mean the the
237-
// full payment succeeded.
236+
// this is a multi shard payment, this might implicitly mean the full payment
237+
// succeeded.
238238
func (p *controlTower) SettleAttempt(paymentHash lntypes.Hash,
239239
attemptID uint64, settleInfo *channeldb.HTLCSettleInfo) (
240240
*channeldb.HTLCAttempt, error) {

0 commit comments

Comments
 (0)