mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-17 16:21:44 +01:00
This commit makes sure an input is only added to the cluster when it has successfully estimated its fee rate. Previously, when an error is returned from `feeRateForPreference`, we'd still add this input to the cluster, resulting a **lower** fee rates being used because when averaging the fee rates, we'd think this input has zero fee rate specified. An unit test is patched to make the method `clusterByLockTime` more robust.
3.1 KiB
3.1 KiB