Change variable nomenclature in chan_utils
[rust-lightning] / lightning / src / ln / functional_tests.rs
index 0bf0e9efe554d4fb71c5a144aa94cd763171a7c8..e60520ffce7c398eac112c26d2cfcfebbb1305fc 100644 (file)
@@ -1652,7 +1652,7 @@ fn test_fee_spike_violation_fails_htlc() {
        let local_commit_tx_output = TxOut {
                script_pubkey: chan_utils::get_revokeable_redeemscript(&commit_tx_keys.revocation_key,
                                                                               BREAKDOWN_TIMEOUT,
-                                                                              &commit_tx_keys.a_delayed_payment_key).to_v0_p2wsh(),
+                                                                              &commit_tx_keys.delayed_payment_key).to_v0_p2wsh(),
                                value: 95000,
        };