mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
Merge pull request #2267 from TheBlueMatt/2023-05-better-scb-err
Mention lnd's SCB feature in the corresponding error message
This commit is contained in:
commit
818dbdf7ab
1 changed files with 1 additions and 1 deletions
|
@ -4092,7 +4092,7 @@ impl<Signer: WriteableEcdsaChannelSigner> Channel<Signer> {
|
|||
|
||||
if msg.next_local_commitment_number >= INITIAL_COMMITMENT_NUMBER || msg.next_remote_commitment_number >= INITIAL_COMMITMENT_NUMBER ||
|
||||
msg.next_local_commitment_number == 0 {
|
||||
return Err(ChannelError::Close("Peer sent a garbage channel_reestablish".to_owned()));
|
||||
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()));
|
||||
}
|
||||
|
||||
if msg.next_remote_commitment_number > 0 {
|
||||
|
|
Loading…
Add table
Reference in a new issue