1
0

test_lnpeer: fix typo in test_reestablish

This commit is contained in:
ThomasV
2026-01-29 14:16:20 +01:00
parent be3e05d7c0
commit 9aa2898c15

View File

@@ -634,7 +634,7 @@ class TestPeerDirect(TestPeer):
self.assertEqual(alice_channel.peer_state, PeerState.GOOD)
self.assertEqual(bob_channel.peer_state, PeerState.GOOD)
gath.cancel()
gath = asyncio.gather(reestablish(), p1._message_loop(), p2._message_loop(), p1.htlc_switch(), p1.htlc_switch())
gath = asyncio.gather(reestablish(), p1._message_loop(), p2._message_loop(), p1.htlc_switch(), p2.htlc_switch())
with self.assertRaises(asyncio.CancelledError):
await gath