Skip to content

Commit 154697b

Browse files
committed
f - fix next_local_commitment_number calculation
1 parent 977eaaf commit 154697b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10575,7 +10575,7 @@ where
1057510575
if !self.context.channel_state.is_their_tx_signatures_sent()
1057610576
&& !session.has_received_commitment_signed()
1057710577
{
10578-
return next_local_commitment_number + 1;
10578+
return next_local_commitment_number - 1;
1057910579
}
1058010580
}
1058110581

0 commit comments

Comments
 (0)