routing: return full htlc attempt from router

This commit is contained in:
Joost Jager
2020-05-06 15:36:51 +02:00
parent cc37485432
commit 674c199047
4 changed files with 44 additions and 29 deletions

View File

@@ -2809,13 +2809,13 @@ func TestSendToRouteMultiShardSend(t *testing.T) {
for i := 0; i < numShards; i++ {
go func() {
preimg, err := ctx.router.SendToRoute(payment, rt)
attempt, err := ctx.router.SendToRoute(payment, rt)
if err != nil {
errChan <- err
return
}
successes <- preimg
successes <- attempt.Settle.Preimage
}()
}