Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: improve checking of path lengths (XRPLF#4519)
Improve the checking of the path lengths during Payments. Previously, the code that did the check of the payment path lengths was sometimes executed, but without any effect. This changes it to only check when it matters, and to not make unnecessary copies of the path vectors.
- Loading branch information