-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/commands: add validation for MPP parameters
Adds validation to ensure that the combination of max_parts and max_shard_size_msat parameters can accommodate the full payment amount before attempting the payment. This prevents payments from entering a path finding loop that would eventually timeout when parameters are incompatible.
- Loading branch information
1 parent
acbb33b
commit d630dcc
Showing
1 changed file
with
54 additions
and
2 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