@@ -1536,6 +1536,8 @@ pub enum Event {
15361536 /// The features that this channel will operate with. Currently, these will be the same
15371537 /// features that the channel was opened with, but in the future splices may change them.
15381538 channel_type : ChannelTypeFeatures ,
1539+ /// The witness script that is used to lock the channel's funding output to commitment transactions.
1540+ new_funding_redeem_script : ScriptBuf ,
15391541 } ,
15401542 /// Used to indicate that a splice for the given `channel_id` has failed.
15411543 ///
@@ -2313,6 +2315,7 @@ impl Writeable for Event {
23132315 ref counterparty_node_id,
23142316 ref new_funding_txo,
23152317 ref channel_type,
2318+ ref new_funding_redeem_script,
23162319 } => {
23172320 50u8 . write ( writer) ?;
23182321 write_tlv_fields ! ( writer, {
@@ -2321,6 +2324,7 @@ impl Writeable for Event {
23212324 ( 5 , user_channel_id, required) ,
23222325 ( 7 , counterparty_node_id, required) ,
23232326 ( 9 , new_funding_txo, required) ,
2327+ ( 11 , new_funding_redeem_script, required) ,
23242328 } ) ;
23252329 } ,
23262330 & Event :: SpliceFailed {
@@ -2936,6 +2940,7 @@ impl MaybeReadable for Event {
29362940 ( 5 , user_channel_id, required) ,
29372941 ( 7 , counterparty_node_id, required) ,
29382942 ( 9 , new_funding_txo, required) ,
2943+ ( 11 , new_funding_redeem_script, required) ,
29392944 } ) ;
29402945
29412946 Ok ( Some ( Event :: SplicePending {
@@ -2944,6 +2949,7 @@ impl MaybeReadable for Event {
29442949 counterparty_node_id : counterparty_node_id. 0 . unwrap ( ) ,
29452950 new_funding_txo : new_funding_txo. 0 . unwrap ( ) ,
29462951 channel_type : channel_type. 0 . unwrap ( ) ,
2952+ new_funding_redeem_script : new_funding_redeem_script. 0 . unwrap ( ) ,
29472953 } ) )
29482954 } ;
29492955 f ( )
0 commit comments