Skip to content

Commit 1f22b15

Browse files
committed
f add next_funding_txid to ReadableArgs impl
1 parent 946af3d commit 1f22b15

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lightning/src/ln/channel.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9779,6 +9779,7 @@ impl<'a, 'b, 'c, ES: Deref, SP: Deref> ReadableArgs<(&'a ES, &'b SP, u32, &'c Ch
97799779
let mut channel_pending_event_emitted = None;
97809780
let mut channel_ready_event_emitted = None;
97819781
let mut funding_tx_broadcast_safe_event_emitted = None;
9782+
let mut next_funding_txid = None;
97829783

97839784
let mut user_id_high_opt: Option<u64> = None;
97849785
let mut channel_keys_id: Option<[u8; 32]> = None;
@@ -9839,6 +9840,7 @@ impl<'a, 'b, 'c, ES: Deref, SP: Deref> ReadableArgs<(&'a ES, &'b SP, u32, &'c Ch
98399840
(49, local_initiated_shutdown, option),
98409841
(51, is_manual_broadcast, option),
98419842
(53, funding_tx_broadcast_safe_event_emitted, option),
9843+
(55, next_funding_txid, option) // Added in 0.0.125
98429844
});
98439845

98449846
let (channel_keys_id, holder_signer) = if let Some(channel_keys_id) = channel_keys_id {
@@ -10101,7 +10103,7 @@ impl<'a, 'b, 'c, ES: Deref, SP: Deref> ReadableArgs<(&'a ES, &'b SP, u32, &'c Ch
1010110103
// If we've sent `commtiment_signed` for an interactive transaction construction,
1010210104
// but have not received `tx_signatures` we MUST set `next_funding_txid` to the
1010310105
// txid of that interactive transaction, else we MUST NOT set it.
10104-
next_funding_txid: None,
10106+
next_funding_txid,
1010510107
},
1010610108
dual_funding_channel_context: None,
1010710109
interactive_tx_constructor: None,

0 commit comments

Comments
 (0)