mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-04 06:44:24 +01:00
pytest: Verify that we forget nodes that have no channels anymore
Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
8f16f6ca09
commit
6f4fca3a6f
@@ -1463,6 +1463,8 @@ class LightningDTests(BaseLightningDTests):
|
||||
|
||||
assert scid2 not in [c['short_channel_id'] for c in l1.rpc.getchannels()['channels']]
|
||||
assert scid2 not in [c['short_channel_id'] for c in l2.rpc.getchannels()['channels']]
|
||||
assert l3.info['id'] not in [n['nodeid'] for n in l1.rpc.getnodes()['nodes']]
|
||||
assert l3.info['id'] not in [n['nodeid'] for n in l2.rpc.getnodes()['nodes']]
|
||||
|
||||
def ping_tests(self, l1, l2):
|
||||
# 0-byte pong gives just type + length field.
|
||||
|
||||
Reference in New Issue
Block a user