mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 10:46:58 +01:00
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:
parent
726e7226c4
commit
068cdc825f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue