From 261588cc8e68d83c50836ed51e90e3f0d9d35420 Mon Sep 17 00:00:00 2001 From: Joost Jager Date: Wed, 6 May 2020 15:28:41 +0200 Subject: [PATCH] itest: switch over to routerrpc.SendToRouteV2 --- lntest/itest/lnd_mpp_test.go | 2 +- lntest/itest/lnd_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lntest/itest/lnd_mpp_test.go b/lntest/itest/lnd_mpp_test.go index 0011d39b..7a30a378 100644 --- a/lntest/itest/lnd_mpp_test.go +++ b/lntest/itest/lnd_mpp_test.go @@ -139,7 +139,7 @@ func testSendToRouteMultiPath(net *lntest.NetworkHarness, t *harnessTest) { // block as long as the payment is in flight. go func() { ctxt, _ := context.WithTimeout(ctxb, defaultTimeout) - resp, err := net.Alice.RouterClient.SendToRoute(ctxt, sendReq) + resp, err := net.Alice.RouterClient.SendToRouteV2(ctxt, sendReq) if err != nil { t.Fatalf("unable to send payment: %v", err) } diff --git a/lntest/itest/lnd_test.go b/lntest/itest/lnd_test.go index 6c48ddc8..0b6b5801 100644 --- a/lntest/itest/lnd_test.go +++ b/lntest/itest/lnd_test.go @@ -4830,7 +4830,7 @@ func testSingleHopSendToRouteCase(net *lntest.NetworkHarness, t *harnessTest, Route: r, } ctxt, _ = context.WithTimeout(ctxb, defaultTimeout) - resp, err := carol.RouterClient.SendToRoute( + resp, err := carol.RouterClient.SendToRouteV2( ctxt, sendReq, ) if err != nil {