mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-12 14:09:06 +02:00
This commit allows the peer to be tested without relying on a raw htlcswitch.Switch pointer. This is accomplished by using a messageSwitch interface and adding the CreateAndAddLink method to the htlcswitch.Switch.