projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #3154 from TheBlueMatt/2024-06-message-flags
[rust-lightning]
/
lightning
/
src
/
ln
/
channel.rs
diff --git
a/lightning/src/ln/channel.rs
b/lightning/src/ln/channel.rs
index 5415eb2fc6f0197d91652cce336ba6c6281b36fd..4de551b72bfdf331d4ee64b15bbe8b69ee95d8bf 100644
(file)
--- a/
lightning/src/ln/channel.rs
+++ b/
lightning/src/ln/channel.rs
@@
-7272,6
+7272,7
@@
impl<SP: Deref> Channel<SP> where
channel_id: self.context.channel_id,
signature,
htlc_signatures,
channel_id: self.context.channel_id,
signature,
htlc_signatures,
+ batch: None,
#[cfg(taproot)]
partial_signature_with_nonce: None,
}, (counterparty_commitment_txid, commitment_stats.htlcs_included)))
#[cfg(taproot)]
partial_signature_with_nonce: None,
}, (counterparty_commitment_txid, commitment_stats.htlcs_included)))
@@
-9894,7
+9895,8
@@
mod tests {
chain_hash,
short_channel_id: 0,
timestamp: 0,
chain_hash,
short_channel_id: 0,
timestamp: 0,
- flags: 0,
+ message_flags: 1, // Only must_be_one
+ channel_flags: 0,
cltv_expiry_delta: 100,
htlc_minimum_msat: 5,
htlc_maximum_msat: MAX_VALUE_MSAT,
cltv_expiry_delta: 100,
htlc_minimum_msat: 5,
htlc_maximum_msat: MAX_VALUE_MSAT,