Skip to content

Commit 818dbdf

Browse files
authored
Merge pull request #2267 from TheBlueMatt/2023-05-better-scb-err
Mention lnd's SCB feature in the corresponding error message
2 parents e94647c + 96ab759 commit 818dbdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channel.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4092,7 +4092,7 @@ impl<Signer: WriteableEcdsaChannelSigner> Channel<Signer> {
40924092

40934093
if msg.next_local_commitment_number >= INITIAL_COMMITMENT_NUMBER || msg.next_remote_commitment_number >= INITIAL_COMMITMENT_NUMBER ||
40944094
msg.next_local_commitment_number == 0 {
4095-
return Err(ChannelError::Close("Peer sent a garbage channel_reestablish".to_owned()));
4095+
return Err(ChannelError::Close("Peer sent a garbage channel_reestablish (usually an lnd node with lost state asking us to force-close for them)".to_owned()));
40964096
}
40974097

40984098
if msg.next_remote_commitment_number > 0 {

0 commit comments

Comments
 (0)