commit 5c05c06bf08221d0fa9f9868ef68a35ddb85d1bf
parent 7b44e270877a7604cae81f824f742e824d7ce5d8
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 5 May 2020 21:18:17 +0200
follow-up prev commit: fix test_lnpeer
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/electrum/tests/test_lnpeer.py b/electrum/tests/test_lnpeer.py
@@ -292,7 +292,7 @@ class TestPeer(ElectrumTestCase):
p1, p2, w1, w2, _q1, _q2 = self.prepare_peers(alice_channel, bob_channel)
pay_req = self.prepare_invoice(w2)
async def pay():
- result = await w1._pay(pay_req)
+ result, log = await w1._pay(pay_req)
self.assertEqual(result, True)
gath.cancel()
gath = asyncio.gather(pay(), p1._message_loop(), p2._message_loop(), p1.htlc_switch(), p2.htlc_switch())
@@ -325,7 +325,7 @@ class TestPeer(ElectrumTestCase):
p1, p2, w1, w2, _q1, _q2 = self.prepare_peers(alice_channel, bob_channel)
pay_req = self.prepare_invoice(w2)
async def pay():
- result = await w1._pay(pay_req)
+ result, log = await w1._pay(pay_req)
self.assertTrue(result)
gath.cancel()
gath = asyncio.gather(pay(), p1._message_loop(), p2._message_loop(), p1.htlc_switch(), p2.htlc_switch())