Underscore TxCreationKeys ownership
[rust-lightning] / lightning / src / ln / channelmonitor.rs
index 3b13180527b0aec38bd318ae9b85771857383317..23dd2fc121f9b4eaa80880cf033d4f236794bd74 100644 (file)
@@ -1162,7 +1162,7 @@ impl<ChanSigner: ChannelKeys> ChannelMonitor<ChanSigner> {
                        revocation_key: initial_local_commitment_tx.local_keys.revocation_key,
                        a_htlc_key: initial_local_commitment_tx.local_keys.broadcaster_htlc_key,
                        b_htlc_key: initial_local_commitment_tx.local_keys.countersignatory_htlc_key,
-                       delayed_payment_key: initial_local_commitment_tx.local_keys.delayed_payment_key,
+                       delayed_payment_key: initial_local_commitment_tx.local_keys.broadcaster_delayed_payment_key,
                        per_commitment_point: initial_local_commitment_tx.local_keys.per_commitment_point,
                        feerate_per_kw: initial_local_commitment_tx.feerate_per_kw,
                        htlc_outputs: Vec::new(), // There are never any HTLCs in the initial commitment transactions
@@ -1338,7 +1338,7 @@ impl<ChanSigner: ChannelKeys> ChannelMonitor<ChanSigner> {
                        revocation_key: commitment_tx.local_keys.revocation_key,
                        a_htlc_key: commitment_tx.local_keys.broadcaster_htlc_key,
                        b_htlc_key: commitment_tx.local_keys.countersignatory_htlc_key,
-                       delayed_payment_key: commitment_tx.local_keys.delayed_payment_key,
+                       delayed_payment_key: commitment_tx.local_keys.broadcaster_delayed_payment_key,
                        per_commitment_point: commitment_tx.local_keys.per_commitment_point,
                        feerate_per_kw: commitment_tx.feerate_per_kw,
                        htlc_outputs: htlc_outputs,