payment_control: remove unused Attempts field
This commit is contained in:
2 files changed
+3
-40
No files matched your search
@@ -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