Skip to content

Commit 87d0fb6

Browse files
committed
f Include locktime and fee_satoshis fields in ClosingSig
1 parent 9fc2c35 commit 87d0fb6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lightning/src/ln/msgs.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,6 +718,10 @@ pub struct ClosingSig {
718718
pub closer_scriptpubkey: ScriptBuf,
719719
/// The destination of the closee's funds on closing.
720720
pub closee_scriptpubkey: ScriptBuf,
721+
/// The proposed total fee for the closing transaction.
722+
pub fee_satoshis: u64,
723+
/// The locktime of the closing transaction.
724+
pub locktime: u32,
721725
/// A signature on the closing transaction omitting the `closee` output.
722726
pub closer_output_only: Option<Signature>,
723727
/// A signature on the closing transaction omitting the `closer` output.
@@ -2802,7 +2806,7 @@ impl_writeable_msg!(ClosingComplete,
28022806
);
28032807

28042808
impl_writeable_msg!(ClosingSig,
2805-
{ channel_id, closer_scriptpubkey, closee_scriptpubkey },
2809+
{ channel_id, closer_scriptpubkey, closee_scriptpubkey, fee_satoshis, locktime },
28062810
{
28072811
(1, closer_output_only, option),
28082812
(2, closee_output_only, option),

0 commit comments

Comments
 (0)