Skip to content

Commit 78347f0

Browse files
committed
Remove FundedChannel::pending_funding persistence
FundedChannel::pending_funding is to be moved to PendingSplice. As such, it will be persisted with PendingSplice once persistence is added for the latter.
1 parent 867f084 commit 78347f0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14265,7 +14265,6 @@ where
1426514265
(49, self.context.local_initiated_shutdown, option), // Added in 0.0.122
1426614266
(51, is_manual_broadcast, option), // Added in 0.0.124
1426714267
(53, funding_tx_broadcast_safe_event_emitted, option), // Added in 0.0.124
14268-
(54, self.pending_funding, optional_vec), // Added in 0.2
1426914268
(55, removed_htlc_attribution_data, optional_vec), // Added in 0.2
1427014269
(57, holding_cell_attribution_data, optional_vec), // Added in 0.2
1427114270
(58, self.interactive_tx_signing_session, option), // Added in 0.2
@@ -14628,7 +14627,6 @@ where
1462814627
let mut holder_commitment_point_pending_next_opt: Option<PublicKey> = None;
1462914628
let mut is_manual_broadcast = None;
1463014629

14631-
let mut pending_funding = Some(Vec::new());
1463214630
let mut historical_scids = Some(Vec::new());
1463314631

1463414632
let mut interactive_tx_signing_session: Option<InteractiveTxSigningSession> = None;
@@ -14672,7 +14670,6 @@ where
1467214670
(49, local_initiated_shutdown, option),
1467314671
(51, is_manual_broadcast, option),
1467414672
(53, funding_tx_broadcast_safe_event_emitted, option),
14675-
(54, pending_funding, optional_vec), // Added in 0.2
1467614673
(55, removed_htlc_attribution_data, optional_vec), // Added in 0.2
1467714674
(57, holding_cell_attribution_data, optional_vec), // Added in 0.2
1467814675
(58, interactive_tx_signing_session, option), // Added in 0.2
@@ -14929,7 +14926,7 @@ where
1492914926
short_channel_id,
1493014927
minimum_depth_override,
1493114928
},
14932-
pending_funding: pending_funding.unwrap(),
14929+
pending_funding: Vec::new(),
1493314930
context: ChannelContext {
1493414931
user_id,
1493514932

0 commit comments

Comments
 (0)