mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-08 11:53:16 +01:00
Before this commit, we wouldn’t properly set the TotalFees attribute. As a result, our sorting algorithm at the end to select candidate routes would simply maintain the time-lock order rather than also sort by total fees. This commit fixes this issue and also allows the test added in the prior commit to pass.
38 KiB
38 KiB