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 cd8ae56 commit 77a7e16Copy full SHA for 77a7e16
lightning/src/ln/channel.rs
@@ -6906,7 +6906,7 @@ impl<SP: Deref> FundedChannel<SP> where
6906
}
6907
6908
if msg.next_local_commitment_number >= INITIAL_COMMITMENT_NUMBER || msg.next_remote_commitment_number >= INITIAL_COMMITMENT_NUMBER ||
6909
- msg.next_local_commitment_number == 0 && msg.next_funding_txid.is_none() {
+ (msg.next_local_commitment_number == 0 && msg.next_funding_txid.is_none()) {
6910
// Note: This also covers the following case in the V2 channel establishment specification:
6911
// if `next_funding_txid` is not set, and `next_commitment_number` is zero:
6912
// MUST immediately fail the channel and broadcast any relevant latest commitment transaction.
0 commit comments