htlc_tx: fix fee for HTLC-timeout tx.

Reported-by: Fabrice Drouin <fabrice.drouin@acinq.fr>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2017-02-21 15:15:28 +10:30
parent 726e7226c4
commit 068cdc825f
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}