fix: reduce update_fee target for anchor channels
the update_fee logic for lightning channels was not adapted to anchor channels causing us to send update_fee with a eta target of 2 blocks. This causes force closes when there are mempool spikes as the fees we try to update to are a lot higher than e.g. eclair uses. Eclair will force close if our fee is 10x > than their fee.
This commit is contained in:
@@ -339,7 +339,7 @@ class MockLNWallet(Logger, EventListener, NetworkRetryManager[LNPeerAddr]):
|
||||
get_forwarding_failure = LNWallet.get_forwarding_failure
|
||||
maybe_cleanup_forwarding = LNWallet.maybe_cleanup_forwarding
|
||||
current_target_feerate_per_kw = LNWallet.current_target_feerate_per_kw
|
||||
current_low_feerate_per_kw = LNWallet.current_low_feerate_per_kw
|
||||
current_low_feerate_per_kw_srk_channel = LNWallet.current_low_feerate_per_kw_srk_channel
|
||||
maybe_cleanup_mpp = LNWallet.maybe_cleanup_mpp
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user