mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
follow-up prev commit: fix test_lnpeer
This commit is contained in:
parent
7b44e27087
commit
5c05c06bf0
1 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Reference in a new issue