From 068cdc825f7a57ccb4eb6c9b49e7aaf7caf14bef Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 21 Feb 2017 15:15:28 +1030 Subject: [PATCH] htlc_tx: fix fee for HTLC-timeout tx. Reported-by: Fabrice Drouin Signed-off-by: Rusty Russell --- lightningd/htlc_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightningd/htlc_tx.c b/lightningd/htlc_tx.c index 2028382c5..7d3700eee 100644 --- a/lightningd/htlc_tx.c +++ b/lightningd/htlc_tx.c @@ -128,7 +128,7 @@ struct bitcoin_tx *htlc_timeout_tx(const tal_t *ctx, */ return htlc_tx(ctx, commit_txid, commit_output_number, offered_htlc, to_self_delay, revocation_pubkey, local_delayedkey, - htlc_success_fee(feerate_per_kw), + htlc_timeout_fee(feerate_per_kw), offered_htlc->expiry.locktime); }