mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
onchaind: use normal feerate, not last feerate from transaction.
This is used by onchaind when creating its own transactions. Note we don't send updates yet. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
ccf86a138a
commit
24b4326b30
@@ -1400,7 +1400,8 @@ static enum watch_result funding_spent(struct peer *peer,
|
|||||||
&peer->channel_info->remote_per_commit,
|
&peer->channel_info->remote_per_commit,
|
||||||
peer->our_config.to_self_delay,
|
peer->our_config.to_self_delay,
|
||||||
peer->channel_info->their_config.to_self_delay,
|
peer->channel_info->their_config.to_self_delay,
|
||||||
peer->channel_info->feerate_per_kw,
|
get_feerate(peer->ld->topology,
|
||||||
|
FEERATE_NORMAL),
|
||||||
peer->our_config.dust_limit_satoshis,
|
peer->our_config.dust_limit_satoshis,
|
||||||
&peer->channel_info->theirbase.revocation,
|
&peer->channel_info->theirbase.revocation,
|
||||||
&our_last_txid,
|
&our_last_txid,
|
||||||
|
|||||||
Reference in New Issue
Block a user