1
0

do not include 'force_closing' in channel states, because it is not part of the peer protocol

This commit is contained in:
ThomasV
2019-05-19 11:55:55 +02:00
parent 0acd0c23d3
commit 3c0df28c98
4 changed files with 18 additions and 20 deletions

View File

@@ -262,7 +262,7 @@ class TestPeer(SequentialTestCase):
# 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())
with self.assertRaises(AssertionError):
with self.assertRaises(PaymentFailure):
run(f())
def run(coro):