From 8f6bc53cade45afd007c346efc7c7cbcff815cb0 Mon Sep 17 00:00:00 2001 From: Michael Schmoock Date: Thu, 19 Sep 2024 09:58:18 +0200 Subject: [PATCH] summary: fixes exclude testcase index out of range --- summary/test_summary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/summary/test_summary.py b/summary/test_summary.py index e4f8e39b3..663c8eaa9 100644 --- a/summary/test_summary.py +++ b/summary/test_summary.py @@ -280,7 +280,7 @@ def test_summary_exclude(node_factory): for k, v in expected.items(): assert(s[k] == v) - scid = l1.rpc.listchannels()['channels'][0]['short_channel_id'] + scid = l1.rpc.listpeerchannels()['channels'][0]['short_channel_id'] s = l1.rpc.summary(exclude=scid) expected = { 'format-hint': 'simple',