Include any recipient overpayment amounts in the route fee limit
authorMatt Corallo <git@bluematt.me>
Thu, 28 Sep 2023 18:19:36 +0000 (18:19 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 28 Sep 2023 20:39:36 +0000 (20:39 +0000)
commit8effd86c217ab915e11c36a29f147dc5735d9593
tree3178a9ecb078caee3b898ab08f6b9f4b0986fc2f
parentf3e33f40742e0543850a181718335e5d54e3bb7c
Include any recipient overpayment amounts in the route fee limit

If the user told us to limit their total fee exposure, we should
do so including any potential overpayment to the recipient, which
is ultimately a part of the "fee" as far as the user is concerned.
lightning/src/routing/router.rs