payment_control: remove unused Attempts field

This commit is contained in:
Johan T. Halseth
2020-09-24 09:48:27 +02:00
parent 46225e2921
commit d1a118388d
2 changed files with 3 additions and 40 deletions

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)