payment_control: remove unused Attempts field

This commit is contained in:
Johan T. Halseth committed 2020-10-06 10:41:25 +02:00
1 parent 46225e2921
commit d1a118388d
2 files changed
+3 -40

No files matched your search

+1 -6
View File
@@ -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)