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

+2 -1
View File
@@ -37,6 +37,7 @@ type mcTestContext struct {
t *testing.T
mc *MissionControl
now time.Time
pid uint64
}
func createMcTestContext(t *testing.T) *mcTestContext {
@@ -78,7 +79,7 @@ func (ctx *mcTestContext) reportFailure(t time.Time,
errorSourceIdx := 1
ctx.mc.ReportPaymentFail(
mcTestRoute, &errorSourceIdx, failure,
ctx.pid, mcTestRoute, &errorSourceIdx, failure,
)
}