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 ade88ea commit 6d91a1fCopy full SHA for 6d91a1f
lightning/src/ln/channel.rs
@@ -5749,6 +5749,11 @@ impl<SP: Deref> FundedChannel<SP> where
5749
ClosureReason::HolderForceClosed { broadcasted_latest_txn: Some(false) },
5750
)));
5751
}
5752
+
5753
+ if msg.batch.is_some() {
5754
+ return Err(ChannelError::close("Peer sent initial commitment_signed with a batch".to_owned()));
5755
+ }
5756
5757
let holder_commitment_point = &mut self.holder_commitment_point.clone();
5758
self.context.assert_no_commitment_advancement(holder_commitment_point.transaction_number(), "initial commitment_signed");
5759
0 commit comments