Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lnwallet: Change MaxFee calculation.
When determining the max fee rate of a channel we used to scale the fee rate depending on our available local balance on this channel. This lead to a special case that if a channel would be drained we could especially decrease the fee rate even down to the fee floor. Now we make sure that our max fee rate will not be lower than the old fee rate to make sure in case our channel is locally drained we do not continue to decrease fees too low.
- Loading branch information