Skip to content

Commit beca12c

Browse files
committed
f - fix next_local_commitment_number calculation
1 parent 5478741 commit beca12c

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
@@ -10555,7 +10555,7 @@ where
1055510555
if !self.context.channel_state.is_their_tx_signatures_sent()
1055610556
&& !session.has_received_commitment_signed()
1055710557
{
10558-
return next_local_commitment_number + 1;
10558+
return next_local_commitment_number - 1;
1055910559
}
1056010560
}
1056110561

0 commit comments

Comments
 (0)