Skip to content

Commit d744325

Browse files
committed
f add next_funding_txid to ReadableArgs impl
1 parent aafabfa commit d744325

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
@@ -9778,6 +9778,7 @@ impl<'a, 'b, 'c, ES: Deref, SP: Deref> ReadableArgs<(&'a ES, &'b SP, u32, &'c Ch
97789778
let mut channel_pending_event_emitted = None;
97799779
let mut channel_ready_event_emitted = None;
97809780
let mut funding_tx_broadcast_safe_event_emitted = None;
9781+
let mut next_funding_txid = None;
97819782

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

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

0 commit comments

Comments
 (0)