mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-24 04:56:35 +01:00
This commit turns `MPPayment` into an interface inside `routing`. Having this interface gives us the benefit to write more granular unit tests inside payment lifecycle. As seen from the modified unit tests, several hacky ways of testing the `SendPayment` method is now replaced by a mock over `MPPayment`.
22 KiB
22 KiB