multi: fix linter
This commit is contained in:
9 files changed
+50
-35
No files matched your search
@@ -441,6 +441,7 @@ func (m *mockControlTowerOld) SettleAttempt(phash lntypes.Hash,
|
||||
|
||||
// Mark the payment successful on first settled attempt.
|
||||
m.successful[phash] = struct{}{}
|
||||
|
||||
return &paymentsdb.HTLCAttempt{
|
||||
Settle: settleInfo,
|
||||
}, nil
|
||||
@@ -479,6 +480,7 @@ func (m *mockControlTowerOld) FailAttempt(phash lntypes.Hash, pid uint64,
|
||||
}
|
||||
|
||||
p.attempts[i].Failure = failInfo
|
||||
|
||||
return &paymentsdb.HTLCAttempt{
|
||||
Failure: failInfo,
|
||||
}, nil
|
||||
|
||||
Reference in new issue
Block a user