Skip to content

Commit 9c6c534

Browse files
committed
f fix offset
1 parent 706b0db commit 9c6c534

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14096,6 +14096,7 @@ where
1409614096
let end = channel_list[start..]
1409714097
.iter()
1409814098
.position(|chan| chan.counterparty.node_id != counterparty_node_id)
14099+
.map(|pos| start + pos)
1409914100
.unwrap_or(channel_list.len());
1410014101

1410114102
let peer_chans = &channel_list[start..end];

0 commit comments

Comments
 (0)