mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-25 13:37:47 +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`.
14 KiB
14 KiB