Skip to content

Commit 2971adc

Browse files
committed
Re-add changes lost on rebase
1 parent 140152b commit 2971adc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/chain/channelmonitor.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,6 +1021,7 @@ impl<Signer: Sign> Writeable for ChannelMonitorImpl<Signer> {
10211021
(7, self.funding_spend_seen, required),
10221022
(9, self.counterparty_node_id, option),
10231023
(11, self.confirmed_commitment_tx_counterparty_output, option),
1024+
(13, self.allow_automated_broadcast, required),
10241025
});
10251026

10261027
Ok(())
@@ -3658,13 +3659,15 @@ impl<'a, Signer: Sign, K: KeysInterface<Signer = Signer>> ReadableArgs<&'a K>
36583659
let mut funding_spend_seen = Some(false);
36593660
let mut counterparty_node_id = None;
36603661
let mut confirmed_commitment_tx_counterparty_output = None;
3662+
let mut allow_automated_broadcast = None;
36613663
read_tlv_fields!(reader, {
36623664
(1, funding_spend_confirmed, option),
36633665
(3, htlcs_resolved_on_chain, vec_type),
36643666
(5, pending_monitor_events, vec_type),
36653667
(7, funding_spend_seen, option),
36663668
(9, counterparty_node_id, option),
36673669
(11, confirmed_commitment_tx_counterparty_output, option),
3670+
(13, allow_automated_broadcast, option),
36683671
});
36693672

36703673
let mut secp_ctx = Secp256k1::new();

0 commit comments

Comments
 (0)