-
Notifications
You must be signed in to change notification settings - Fork 905
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pay: Prevent repeating the preapproveinvoice check
So far we would call `preapproveinvoice` once for each payment split, i.e., at least once per HTLC, and potentially more often. There is no point in doing so repeatedly, and especially in remote signer setup this is actually counterproductive due to the additional roundtrips. Changelog-Changed pay: Improved performance by removing repeated `preapproveinvoice` calls
- Loading branch information
Showing
2 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters