We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0a7ed4 commit 3a20546Copy full SHA for 3a20546
lightning/src/ln/channel.rs
@@ -5745,6 +5745,11 @@ impl<SP: Deref> FundedChannel<SP> where
5745
ClosureReason::HolderForceClosed { broadcasted_latest_txn: Some(false) },
5746
)));
5747
}
5748
+
5749
+ if msg.batch.is_some() {
5750
+ return Err(ChannelError::close("Peer sent initial commitment_signed with a batch".to_owned()));
5751
+ }
5752
5753
let holder_commitment_point = &mut self.holder_commitment_point.clone();
5754
self.context.assert_no_commitment_advancement(holder_commitment_point.transaction_number(), "initial commitment_signed");
5755
0 commit comments