diff --git a/tests/test_gossip.py b/tests/test_gossip.py index 1c640ed3d..cc41a6464 100644 --- a/tests/test_gossip.py +++ b/tests/test_gossip.py @@ -1869,11 +1869,9 @@ def test_gossip_ratelimit(node_factory, bitcoind): We get BROKEN logs because gossipd talks about non-existent channels to lightningd ("**BROKEN** lightningd: Local update for bad scid 103x1x1"). """ - l3, = node_factory.get_nodes( - 1, - opts=[{'dev-gossip-time': 1568096251, - 'allow_broken_log': True}] - ) + l3 = node_factory.get_node(node_id=3, + allow_broken_log=True, + options={'dev-gossip-time': 1568096251}) # Bump to block 102, so the following tx ends up in 103x1: bitcoind.generate_block(1)