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