routing: provide payment id to mission control

This commit is contained in:
Joost Jager committed 2019-07-29 09:38:32 +02:00
1 parent 334b6a3bfe
commit b4a7665bae
5 files changed
+14 -11

No files matched your search

+1 -1
View File
@@ -395,7 +395,7 @@ func (m *MissionControl) GetHistorySnapshot() *MissionControlSnapshot {
// returns a bool indicating whether this error is a final error. If it is
// final, a failure reason is returned and no further payment attempts need to
// be made.
func (m *MissionControl) ReportPaymentFail(rt *route.Route,
func (m *MissionControl) ReportPaymentFail(paymentID uint64, rt *route.Route,
failureSourceIdx *int, failure lnwire.FailureMessage) (bool,
channeldb.FailureReason) {