mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 15:40:59 +02:00
payment_control: remove unused Attempts field
This commit is contained in:
@@ -446,13 +446,8 @@ func (m *mockControlTower) FetchInFlightPayments() (
|
||||
continue
|
||||
}
|
||||
|
||||
var attempts []channeldb.HTLCAttemptInfo
|
||||
for _, a := range p.attempts {
|
||||
attempts = append(attempts, a.HTLCAttemptInfo)
|
||||
}
|
||||
ifl := channeldb.InFlightPayment{
|
||||
Info: &p.info,
|
||||
Attempts: attempts,
|
||||
Info: &p.info,
|
||||
}
|
||||
|
||||
fl = append(fl, &ifl)
|
||||
|
Reference in New Issue
Block a user