Browse Source

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>
ppa-0.6.1
Rusty Russell 8 years ago
parent
commit
068cdc825f
  1. 2
      lightningd/htlc_tx.c

2
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, return htlc_tx(ctx, commit_txid, commit_output_number, offered_htlc,
to_self_delay, revocation_pubkey, local_delayedkey, to_self_delay, revocation_pubkey, local_delayedkey,
htlc_success_fee(feerate_per_kw), htlc_timeout_fee(feerate_per_kw),
offered_htlc->expiry.locktime); offered_htlc->expiry.locktime);
} }

Loading…
Cancel
Save