1
0

remove redundant test from lnworker._pay, rename pay_to_route parameter to lnaddr

This commit is contained in:
ThomasV
2019-10-04 18:06:53 +02:00
parent 7c283f9cd2
commit bcb10e6e53
2 changed files with 7 additions and 10 deletions

View File

@@ -259,7 +259,7 @@ class TestPeer(ElectrumTestCase):
# AssertionError is ok since we shouldn't use old routes, and the
# route finding should fail when channel is closed
async def f():
await asyncio.gather(w1._pay_to_route(route, addr, pay_req), p1._message_loop(), p2._message_loop())
await asyncio.gather(w1._pay_to_route(route, addr), p1._message_loop(), p2._message_loop())
with self.assertRaises(PaymentFailure):
run(f())