Skip to content

Commit ecea38d

Browse files
committed
summary: fixes exclude testcase index out of range
1 parent ada2005 commit ecea38d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

summary/test_summary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def test_summary_exclude(node_factory):
280280
for k, v in expected.items():
281281
assert(s[k] == v)
282282

283-
scid = l1.rpc.listchannels()['channels'][0]['short_channel_id']
283+
scid = l1.rpc.listpeerchannels()['channels'][0]['short_channel_id']
284284
s = l1.rpc.summary(exclude=scid)
285285
expected = {
286286
'format-hint': 'simple',

0 commit comments

Comments
 (0)