Skip to content

Commit 6e16315

Browse files
committed
f wrong commitment side
1 parent ed96352 commit 6e16315

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/channel.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -4303,13 +4303,13 @@ impl<SP: Deref> Channel<SP> where
43034303
}
43044304
} else if msg.next_local_commitment_number < next_counterparty_commitment_number {
43054305
Err(ChannelError::Close(format!(
4306-
"Peer attempted to reestablish channel with a very old local commitment transaction: {} (received) vs {} (expected)",
4306+
"Peer attempted to reestablish channel with a very old remote commitment transaction: {} (received) vs {} (expected)",
43074307
msg.next_local_commitment_number,
43084308
next_counterparty_commitment_number,
43094309
)))
43104310
} else {
43114311
Err(ChannelError::Close(format!(
4312-
"Peer attempted to reestablish channel with a future local commitment transaction: {} (received) vs {} (expected)",
4312+
"Peer attempted to reestablish channel with a future remote commitment transaction: {} (received) vs {} (expected)",
43134313
msg.next_local_commitment_number,
43144314
next_counterparty_commitment_number,
43154315
)))

0 commit comments

Comments
 (0)